dellemc.os9/.github/workflows/ansible-test.yml
Andrew Klychkov 200a6dc853
Add stable-2.12 to CI (#25)
* Add stable-2.12 to CI

* Add ignore.txts

* Fix sanity
2021-10-07 17:04:09 +02:00

35 lines
911 B
YAML

name: CI
on:
- pull_request
jobs:
sanity:
name: Sanity (${{ matrix.ansible }})
strategy:
matrix:
ansible:
- stable-2.10
- stable-2.11
- stable-2.12
- devel
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
with:
path: ansible_collections/dellemc/os9
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
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
- name: Install ansible_collections.ansible.netcommon
run: ansible-galaxy collection install ansible.netcommon -p ../../
- name: Run sanity tests
run: ansible-test sanity --docker -v --color --python 3.8