Add stable-2.12 to CI ()

* Add stable-2.12 to CI

* Add ignore.txts

* Fix sanity
This commit is contained in:
Andrew Klychkov 2021-10-07 18:04:09 +03:00 committed by GitHub
parent c600742446
commit 200a6dc853
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 4 deletions
.github/workflows
plugins/cliconf
tests/sanity

View file

@ -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

View file

@ -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':

View file

@ -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

View file

@ -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