Skip to content

Commit

Permalink
ci: report coverage of TUI's integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ferdinand committed Mar 7, 2024
1 parent d7b8e34 commit 718b211
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: cargo run --bin constraint-evaluation-generator

- name: Collect coverage data
run: cargo llvm-cov nextest --lcov --output-path lcov.info
run: cargo llvm-cov nextest --lcov --output-path lcov.info --features integration-tests

- name: Upload coverage to coveralls.io
uses: coverallsapp/github-action@v2
Expand Down
5 changes: 2 additions & 3 deletions triton-tui/tests/tests.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//! Integration tests for the triton-tui binary. Currently ignored for two reasons:
//! 1. They break code-coverage tool `cargo-tarpaulin`.
//! 2. The crate `rexpect` does not compile on Windows.
//! Integration tests for the triton-tui binary. Feature-gated because the crate `rexpect` does not
//! compile on Windows.
#[cfg(test)]
#[cfg(feature = "integration-tests")]
Expand Down

0 comments on commit 718b211

Please sign in to comment.