diff options
Diffstat (limited to 'collections-debian-merged/ansible_collections/community/digitalocean/.github')
-rw-r--r-- | collections-debian-merged/ansible_collections/community/digitalocean/.github/workflows/ansible-test.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/collections-debian-merged/ansible_collections/community/digitalocean/.github/workflows/ansible-test.yml b/collections-debian-merged/ansible_collections/community/digitalocean/.github/workflows/ansible-test.yml new file mode 100644 index 00000000..d32b2723 --- /dev/null +++ b/collections-debian-merged/ansible_collections/community/digitalocean/.github/workflows/ansible-test.yml @@ -0,0 +1,31 @@ +name: CI +on: +- pull_request + +jobs: + sanity: + name: Sanity (${{ matrix.ansible }}) + strategy: + matrix: + ansible: + - stable-2.9 + - stable-2.10 + - devel + runs-on: ubuntu-latest + steps: + + - name: Check out code + uses: actions/checkout@v1 + with: + path: ansible_collections/community/digitalocean + + - 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: Run sanity tests + run: ansible-test sanity --docker -v --color --python 3.6 |