Skip to content

Commit

Permalink
Enabled codecov in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
smiasojed committed Nov 7, 2023
1 parent ca0543b commit 864bacb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -450,14 +450,12 @@ jobs:
grcov . --binary-path ./target/debug/ --source-dir . --output-type lcov --llvm --branch \
--ignore-not-existing --ignore "/*" --ignore "tests/*" --output-path lcov-w-branch.info
rust-covfix lcov-w-branch.info --output lcov-w-branch-fixed.info
# TODO: Enable when Gitlab CI is disabled
#codecov --token "$CODECOV_P_TOKEN" --file lcov-w-branch-fixed.info --nonZero
codecov --token "$CODECOV_P_TOKEN" --file lcov-w-branch-fixed.info --nonZero
# lines coverage
grcov . --binary-path ./target/debug/ --source-dir . --output-type lcov --llvm \
--ignore-not-existing --ignore "/*" --ignore "tests/*" --output-path lcov-lines.info
rust-covfix lcov-lines.info --output lcov-lines-fixed.info
# TODO: Enable when Gitlab CI is disabled
#codecov --token "$CODECOV_TOKEN" --file lcov-lines-fixed.info --nonZero
codecov --token "$CODECOV_TOKEN" --file lcov-lines-fixed.info --nonZero
### examples

Expand Down

0 comments on commit 864bacb

Please sign in to comment.