ci: fix Codecov environment variables (#4786)

This commit is contained in:
Marten Seemann
2024-12-23 13:34:13 +08:00
committed by GitHub
parent 5dbb46dcc1
commit 848042c69b

View File

@@ -46,7 +46,10 @@ jobs:
run: go test -v -run=^$ -benchtime 0.5s -bench=. $(go list ./... | grep -v integrationtests/self)
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
env:
OS: ${{ matrix.os }}
GO: ${{ matrix.go }}
with:
files: coverage.txt,coverage-root.txt
env_vars: OS=${{ matrix.os }}, GO=${{ matrix.go }}
env_vars: OS,GO
token: ${{ secrets.CODECOV_TOKEN }}