This is an automated email from the ASF dual-hosted git repository.
wilfreds pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git
The following commit(s) were added to refs/heads/master by this push:
new 5f8d20b6 [YUNIKORN-2393] Upgrade codecov/codecov-action to v4 (#783)
5f8d20b6 is described below
commit 5f8d20b68ee4a3bbb9d78acf976fc1143a29ec29
Author: Yu-Lin Chen <[email protected]>
AuthorDate: Fri Feb 9 13:44:06 2024 +1100
[YUNIKORN-2393] Upgrade codecov/codecov-action to v4 (#783)
Closes: #783
Signed-off-by: Wilfred Spiegelenburg <[email protected]>
---
.github/workflows/pre-commit.yml | 6 +++++-
.github/workflows/push-master.yml | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 6d3edb67..2b6a1fe9 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -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
diff --git a/.github/workflows/push-master.yml
b/.github/workflows/push-master.yml
index 9757a602..03bd406b 100644
--- a/.github/workflows/push-master.yml
+++ b/.github/workflows/push-master.yml
@@ -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 }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]