Add a code coverage check to the CI pipeline #84

Merged
wojtek merged 5 commits from 83---add-a-code-coverage-check-to-the-ci-pipeline into main 2024-01-06 19:49:41 +01:00
Showing only changes of commit cbec032fbc - Show all commits

View File

@ -24,19 +24,19 @@ jobs:
- run: cargo test --all-features --all-targets --no-fail-fast
- run: >-
grcov target/debug/profraw
--binary-path ./target/debug/
--output-types html
--source-dir .
--ignore-not-existing
--ignore "tests/*"
--ignore "src/main.rs"
--excl-start "GRCOV_EXCL_START|mod tests \{"
--excl-stop "GRCOV_EXCL_STOP"
--output-path ./target/debug/coverage/
--binary-path target/debug/
--output-types html
--source-dir .
--ignore-not-existing
--ignore "tests/*"
--ignore "src/main.rs"
--excl-start "GRCOV_EXCL_START|mod tests \{"
--excl-stop "GRCOV_EXCL_STOP"
--output-path ./target/debug/coverage/
- run: >-
python3 .gitea/scripts/coverage.py
--coverage-file ./target/debug/coverage/coverage.json
--fail-under 100.00
--coverage-file ./target/debug/coverage/coverage.json
--fail-under 100.00
lint:
name: Lint