Unverified Commit 2d10a700 authored by Denis_P's avatar Denis_P 🏑 Committed by GitHub
Browse files

Debug codecov (#503)

* debug (CI): putting reports in artifacts [skip ci]

* debug (CI): remove unneded jobs, revert lated

* change (doc): fix artifacts

* CI: debug codecov, again

* CI: run with tests

* CI: revert me

* CI: change codesource form ./target to .

* Revert "CI: revert me"

This reverts commit 0d50efb3.
parent b29a2cb1
Pipeline #122146 skipped
......@@ -169,15 +169,17 @@ codecov:
- cargo build --verbose --all-features --workspace
- cargo test --verbose --all-features --no-fail-fast --workspace
# coverage with branches
- grcov ./target -s . -t lcov --llvm --branch --ignore-not-existing --ignore "/*" --ignore "tests/*" -o lcov-w-branch.info
- rust-covfix -o lcov-w-branch.info lcov-w-branch.info
- grcov . --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
# We'd like to not use a remote bash script for uploading the coverage reports,
# however this job seems to be more tricky than we hoped.
- bash <(curl -s https://codecov.io/bash) -t "$CODECOV_P_TOKEN" -f lcov-w-branch.info
- bash <(curl -s https://codecov.io/bash) -t "$CODECOV_P_TOKEN" -f lcov-w-branch-fixed.info
# lines coverage
- grcov ./target -s . -t lcov --llvm --ignore-not-existing --ignore "/*" --ignore "tests/*" -o lcov-lines.info
- rust-covfix -o lcov-lines.info lcov-lines.info
- bash <(curl -s https://codecov.io/bash) -f lcov-lines.info
- grcov . --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
- bash <(curl -s https://codecov.io/bash) -f lcov-lines-fixed.info
clippy-std:
stage: workspace
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment