Skip to content

Commit

Permalink
add codecov token
Browse files Browse the repository at this point in the history
  • Loading branch information
joergbrech committed May 16, 2024
1 parent d8bbf40 commit f6e2dc9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/test-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,5 @@ runs:
uses: codecov/codecov-action@v4
with:
files: ./build/tests/unittests/coverageReport-unit.info,./build/tests/integrationtests/coverageReport-integration.info
env:
CODECOV_TOKEN: ${{ CODECOV_TOKEN }}
5 changes: 5 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
GH_TOKEN:
description: 'A Github PAT'
required: true
CODECOV_TOKEN:
description: 'Needed to upload coverage report to codecov'
required: true

inputs:

Expand Down Expand Up @@ -110,6 +113,8 @@ jobs:
coverage: ${{ matrix.coverage == 'ON' || false }}
unit-tests: ${{ matrix.unit-tests }}
integration-tests: ${{ inputs.integration-tests == 'true' || false }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}


build-windows:
Expand Down

0 comments on commit f6e2dc9

Please sign in to comment.