1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Pass codecov token to ansible-test-gh-action (#8341)

Pass codecov token to ansible-test-gh-action.
This commit is contained in:
Felix Fontein 2024-05-11 21:29:37 +02:00 committed by GitHub
parent a71e19130d
commit b774435d8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,6 +42,7 @@ jobs:
uses: felixfontein/ansible-test-gh-action@main uses: felixfontein/ansible-test-gh-action@main
with: with:
ansible-core-version: stable-${{ matrix.ansible }} ansible-core-version: stable-${{ matrix.ansible }}
codecov-token: ${{ secrets.CODECOV_TOKEN }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }} coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
pull-request-change-detection: 'true' pull-request-change-detection: 'true'
testing-type: sanity testing-type: sanity
@ -83,6 +84,7 @@ jobs:
uses: felixfontein/ansible-test-gh-action@main uses: felixfontein/ansible-test-gh-action@main
with: with:
ansible-core-version: stable-${{ matrix.ansible }} ansible-core-version: stable-${{ matrix.ansible }}
codecov-token: ${{ secrets.CODECOV_TOKEN }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }} coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
pre-test-cmd: >- pre-test-cmd: >-
mkdir -p ../../ansible mkdir -p ../../ansible
@ -183,6 +185,7 @@ jobs:
uses: felixfontein/ansible-test-gh-action@main uses: felixfontein/ansible-test-gh-action@main
with: with:
ansible-core-version: stable-${{ matrix.ansible }} ansible-core-version: stable-${{ matrix.ansible }}
codecov-token: ${{ secrets.CODECOV_TOKEN }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }} coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
docker-image: ${{ matrix.docker }} docker-image: ${{ matrix.docker }}
integration-continue-on-error: 'false' integration-continue-on-error: 'false'