Switch to my fork of ansible-test-gh-action.

This commit is contained in:
Felix Fontein 2022-12-18 09:51:43 +01:00
parent d37ec11ac5
commit 282439b356

View file

@ -44,7 +44,7 @@ jobs:
), matrix.ansible) && 'ubuntu-20.04' || 'ubuntu-latest' }} ), matrix.ansible) && 'ubuntu-20.04' || 'ubuntu-latest' }}
steps: steps:
- name: Perform sanity testing - name: Perform sanity testing
uses: ansible-community/ansible-test-gh-action@release/v1 uses: felixfontein/ansible-test-gh-action@main
with: with:
ansible-core-version: ${{ matrix.ansible }} ansible-core-version: ${{ matrix.ansible }}
testing-type: sanity testing-type: sanity
@ -81,7 +81,7 @@ jobs:
- name: >- - name: >-
Perform unit testing against Perform unit testing against
Ansible version ${{ matrix.ansible }} Ansible version ${{ matrix.ansible }}
uses: ansible-community/ansible-test-gh-action@release/v1 uses: felixfontein/ansible-test-gh-action@main
with: with:
ansible-core-version: ${{ matrix.ansible }} ansible-core-version: ${{ matrix.ansible }}
testing-type: units testing-type: units
@ -145,9 +145,12 @@ jobs:
Perform integration testing against Perform integration testing against
Ansible version ${{ matrix.ansible }} Ansible version ${{ matrix.ansible }}
under Python ${{ matrix.python }} under Python ${{ matrix.python }}
uses: ansible-community/ansible-test-gh-action@release/v1 uses: felixfontein/ansible-test-gh-action@main
with: with:
ansible-core-version: ${{ matrix.ansible }} ansible-core-version: ${{ matrix.ansible }}
integration-continue-on-error: 'false'
integration-diff: 'false'
integration-retry-on-error: 'true'
# NOTE: we're installing with git to work around Galaxy being a huge PITA (https://github.com/ansible/galaxy/issues/2429) # NOTE: we're installing with git to work around Galaxy being a huge PITA (https://github.com/ansible/galaxy/issues/2429)
pre-test-cmd: |- pre-test-cmd: |-
git clone --depth=1 --single-branch https://github.com/ansible-collections/ansible.netcommon.git ../../ansible/netcommon git clone --depth=1 --single-branch https://github.com/ansible-collections/ansible.netcommon.git ../../ansible/netcommon