Skip to content

Commit

Permalink
ci: improve coverage speed (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradoplg authored Oct 15, 2024
1 parent b1f946f commit cd352bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
run: cargo install cargo-llvm-cov

- name: Run tests
run: cargo llvm-cov --lcov --no-report --ignore-filename-regex '.*(tests).*|benches.rs|gencode|helpers.rs'
run: cargo llvm-cov --lcov --no-report --ignore-filename-regex '.*(tests).*|benches.rs|gencode|helpers.rs|interoperability_tests.rs'

- name: Generate coverage report
run: cargo llvm-cov report --lcov --ignore-filename-regex '.*(tests).*|benches.rs|gencode|helpers.rs' --output-path lcov.info
run: cargo llvm-cov report --lcov --ignore-filename-regex '.*(tests).*|benches.rs|gencode|helpers.rs|interoperability_tests.rs' --output-path lcov.info

- name: Upload coverage report to Codecov
uses: codecov/[email protected]
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ members = [
"frost-rerandomized",
"gencode"
]

[profile.test.package."*"]
opt-level = 3

0 comments on commit cd352bb

Please sign in to comment.