Skip to content

Commit

Permalink
[YUNIKORN-2393] Upgrade codecov/codecov-action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyulin0719 committed Feb 7, 2024
1 parent 458916f commit c8af1a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ jobs:
- name: Unit tests
run: make test
- name: Code coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: build/coverage.txt
# After codecov/codecov-action@v4, tokenless uploading of coverage files to non-public repo is unsupported.
# To enable codecov analysis in your forked repo. Please configure CODECOV_TOKEN in your repository secrets.
# Ref: https://docs.codecov.com/docs/adding-the-codecov-token
token: ${{ secrets.CODECOV_TOKEN }}

e2e-tests:
needs: build
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
- name: Unit tests
run: make test
- name: Code coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: build/coverage.txt
# After codecov/codecov-action@v4, tokenless uploading of coverage files to non-public repo is unsupported.
# To enable codecov analysis in your forked repo. Please configure CODECOV_TOKEN in your repository secrets.
# Ref: https://docs.codecov.com/docs/adding-the-codecov-token
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit c8af1a3

Please sign in to comment.