dellemc.os9/.github/workflows/ansible-test.yml
Komal Uttamrao Patil 25039af74e
Dell EMC OS9 Collections (#3)
* adding OS9 ansible collections

* adding OS9 collections

* adding licensing, documentation changes

Co-authored-by: Patil <Komal_uttamrao_Patil@Dell.com>
2020-07-20 13:10:14 -07:00

33 lines
867 B
YAML

name: CI
on:
- pull_request
jobs:
sanity:
name: Sanity (${{ matrix.ansible }})
strategy:
matrix:
ansible:
- stable-2.10
- 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.6
uses: actions/setup-python@v1
with:
python-version: 3.6
- 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.6