mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-23 21:55:11 +02:00
ci: add some comments regarding codecov to action
This commit is contained in:
parent
870c29e6e0
commit
7008f1d520
5
.github/workflows/coverage.yml
vendored
5
.github/workflows/coverage.yml
vendored
@ -1,5 +1,7 @@
|
|||||||
# Code coverage generation via cargo-llvm-cov, which is then uploaded to Codecov.
|
# Code coverage generation via cargo-llvm-cov, which is then uploaded to Codecov.
|
||||||
# Codecov will report back via a comment if run on a PR.
|
# Codecov will report back via a comment if run on a PR.
|
||||||
|
#
|
||||||
|
# Note that Codecov will report back the average all uploaded coverage files.
|
||||||
|
|
||||||
name: codecov
|
name: codecov
|
||||||
|
|
||||||
@ -17,7 +19,6 @@ concurrency:
|
|||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'ClementTsang/bottom' }}
|
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'ClementTsang/bottom' }}
|
||||||
|
|
||||||
# TODO: Maybe add this for more than just Linux.
|
|
||||||
jobs:
|
jobs:
|
||||||
pre-job:
|
pre-job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -70,5 +71,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
files: lcov.info
|
files: lcov.info
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }} # This is generally not needed, but sometimes the default shared token hits limits.
|
||||||
flags: ${{ matrix.info.os }}
|
flags: ${{ matrix.info.os }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user