mirror of
https://github.com/alibaba/higress.git
synced 2026-03-02 15:40:54 +08:00
chore: add CODECOV_TOKEN environment secret in CI workflows (#3110)
Co-authored-by: 澄潭 <zty98751@alibaba-inc.com>
This commit is contained in:
2
.github/workflows/build-and-test.yaml
vendored
2
.github/workflows/build-and-test.yaml
vendored
@@ -48,6 +48,8 @@ jobs:
|
||||
GOPROXY="https://proxy.golang.org,direct" make go.test.coverage
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v4
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
with:
|
||||
fail_ci_if_error: false
|
||||
files: ./coverage.xml
|
||||
|
||||
2
.github/workflows/wasm-plugin-unit-test.yml
vendored
2
.github/workflows/wasm-plugin-unit-test.yml
vendored
@@ -180,6 +180,8 @@ jobs:
|
||||
- name: Upload coverage to Codecov for ${{ matrix.plugin }}
|
||||
uses: codecov/codecov-action@v4
|
||||
if: always()
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
with:
|
||||
file: plugins/wasm-go/extensions/${{ matrix.plugin }}/coverage-${{ matrix.plugin }}.out
|
||||
flags: wasm-go-plugin-${{ matrix.plugin }}
|
||||
|
||||
Reference in New Issue
Block a user