Fix codecov upload (#850)
Update Codecov action to version 5 and add token
This commit is contained in:
@@ -68,8 +68,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: coverage
|
name: coverage
|
||||||
- name: Upload coverage reports
|
- name: Upload coverage reports
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
files: ${{ github.workspace }}/coverage.txt,${{ github.workspace }}/lcov.info
|
files: ${{ github.workspace }}/coverage.txt,${{ github.workspace }}/lcov.info
|
||||||
flags: unittests
|
flags: unittests
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
|
|||||||
Reference in New Issue
Block a user