Use proposed new options for ansible-test-gh-action. (#533)

pull/535/head
Felix Fontein 2022-11-27 21:04:52 +01:00 committed by GitHub
parent ba9c50c358
commit 4d28266eba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -29,9 +29,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Perform sanity testing - name: Perform sanity testing
uses: felixfontein/ansible-test-gh-action@change-detection uses: felixfontein/ansible-test-gh-action@integration-error-behavior
with: with:
ansible-core-version: stable-${{ matrix.ansible }} ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
pull-request-change-detection: 'true' pull-request-change-detection: 'true'
testing-type: sanity testing-type: sanity
@ -50,9 +51,10 @@ jobs:
- name: >- - name: >-
Perform unit testing against Perform unit testing against
Ansible version ${{ matrix.ansible }} Ansible version ${{ matrix.ansible }}
uses: felixfontein/ansible-test-gh-action@change-detection uses: felixfontein/ansible-test-gh-action@integration-error-behavior
with: with:
ansible-core-version: stable-${{ matrix.ansible }} ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
pull-request-change-detection: 'true' pull-request-change-detection: 'true'
testing-type: units testing-type: units
@ -101,10 +103,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: felixfontein/ansible-test-gh-action@change-detection uses: felixfontein/ansible-test-gh-action@integration-error-behavior
with: with:
ansible-core-version: stable-${{ matrix.ansible }} ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
docker-image: ${{ matrix.docker }} docker-image: ${{ matrix.docker }}
integration-continue-on-error: 'false'
pre-test-cmd: >- pre-test-cmd: >-
git clone --depth=1 --single-branch https://github.com/ansible-collections/community.internal_test_tools.git ../../community/internal_test_tools git clone --depth=1 --single-branch https://github.com/ansible-collections/community.internal_test_tools.git ../../community/internal_test_tools
; ;