Skip to content

Commit

Permalink
ci: use CODECOV_TOKEN when submitting coverage data
Browse files Browse the repository at this point in the history
Signed-off-by: Karel Srot <[email protected]>
  • Loading branch information
kkaarreell authored and ansasaki committed Jul 16, 2024
1 parent c195ef6 commit 5859476
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/submit-HEAD-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ jobs:
run: ls
- name: Upload e2e_coverage report to Codecov with GitHub Action.
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: e2e_coverage.txt
flags: e2e-testsuite
- name: Upload upstream_coverage report to Codecov with GitHub Action.
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: upstream_coverage.xml
flags: upstream-unit-tests
4 changes: 4 additions & 0 deletions .github/workflows/submit-PR-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ jobs:
run: ls
- name: Upload e2e_coverage.txt report to Codecov with GitHub Action.
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: scripts/e2e_coverage.txt
flags: e2e-testsuite
- name: Upload upstream_coverage.xml report to Codecov with GitHub Action.
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: scripts/upstream_coverage.xml
flags: upstream-unit-tests

0 comments on commit 5859476

Please sign in to comment.