diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml index 6834c54..47a7085 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/ansible-test.yml @@ -9,6 +9,8 @@ jobs: matrix: ansible: - stable-2.10 + - stable-2.11 + - stable-2.12 - devel runs-on: ubuntu-latest steps: @@ -18,10 +20,10 @@ jobs: with: path: ansible_collections/dellemc/os9 - - name: Set up Python 3.6 + - name: Set up Python 3.8 uses: actions/setup-python@v1 with: - python-version: 3.6 + python-version: 3.8 - name: Install ansible-base (${{ matrix.ansible }}) run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check @@ -30,4 +32,4 @@ jobs: run: ansible-galaxy collection install ansible.netcommon -p ../../ - name: Run sanity tests - run: ansible-test sanity --docker -v --color --python 3.6 + run: ansible-test sanity --docker -v --color --python 3.8 diff --git a/plugins/cliconf/os9.py b/plugins/cliconf/os9.py index 95334bf..0c61953 100644 --- a/plugins/cliconf/os9.py +++ b/plugins/cliconf/os9.py @@ -66,7 +66,7 @@ class Cliconf(CliconfBase): return device_info @enable_mode - def get_config(self, source='running', format='text', flags=None): + def get_config(self, source='running', flags=None, format='text'): if source not in ('running', 'startup'): return self.invalid_params("fetching configuration from %s is not supported" % source) # if source == 'running': diff --git a/tests/sanity/ignore-2.12.txt b/tests/sanity/ignore-2.12.txt new file mode 100644 index 0000000..57ab8ae --- /dev/null +++ b/tests/sanity/ignore-2.12.txt @@ -0,0 +1,4 @@ +plugins/action/os9.py action-plugin-docs +plugins/modules/os9_config.py validate-modules:parameter-list-no-elements +plugins/modules/os9_facts.py validate-modules:parameter-list-no-elements +plugins/modules/os9_command.py validate-modules:parameter-list-no-elements \ No newline at end of file diff --git a/tests/sanity/ignore-2.13.txt b/tests/sanity/ignore-2.13.txt new file mode 100644 index 0000000..57ab8ae --- /dev/null +++ b/tests/sanity/ignore-2.13.txt @@ -0,0 +1,4 @@ +plugins/action/os9.py action-plugin-docs +plugins/modules/os9_config.py validate-modules:parameter-list-no-elements +plugins/modules/os9_facts.py validate-modules:parameter-list-no-elements +plugins/modules/os9_command.py validate-modules:parameter-list-no-elements \ No newline at end of file