Add stable-2.12 to CI (#25)
* Add stable-2.12 to CI * Add ignore.txts * Fix sanity
This commit is contained in:
parent
c600742446
commit
200a6dc853
4 changed files with 14 additions and 4 deletions
8
.github/workflows/ansible-test.yml
vendored
8
.github/workflows/ansible-test.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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':
|
||||
|
|
4
tests/sanity/ignore-2.12.txt
Normal file
4
tests/sanity/ignore-2.12.txt
Normal 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
|
4
tests/sanity/ignore-2.13.txt
Normal file
4
tests/sanity/ignore-2.13.txt
Normal 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
|
Loading…
Reference in a new issue