Skip to content

Commit f5cb085

Browse files
committed
ignoring tests/ dir for coverage calc
1 parent 3f884f1 commit f5cb085

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
run: cargo install cargo-tarpaulin
9797

9898
- name: Generate coverage
99-
run: cargo tarpaulin --out Xml --output-dir coverage
99+
run: cargo tarpaulin
100100

101101
- name: Upload coverage to Codecov
102102
uses: codecov/codecov-action@v4

tarpaulin.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ output-dir = "coverage"
2222
[run]
2323
# Exclude test code from coverage
2424
exclude-files = [
25-
"tests/*",
25+
"tests/**/*",
2626
"benches/*",
2727
]
2828

tests/integration_test.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use pickle_fuzzer::{Generator, Version};
1818

1919
#[test]
20-
#[ignore = "skipped due to error in CI, test with --ignored to run locally"]
2120
fn test_generate_all_protocol_versions() {
2221
for version_num in 0..=5 {
2322
let version = Version::try_from(version_num).unwrap();
@@ -119,7 +118,6 @@ fn test_protocol_v0_generates_ascii() {
119118
}
120119

121120
#[test]
122-
#[ignore = "skipped due to error in CI, test with --ignored to run locally"]
123121
fn test_protocol_v2_and_above_have_proto() {
124122
for version_num in 2..=5 {
125123
let version = Version::try_from(version_num).unwrap();
@@ -226,7 +224,6 @@ fn test_cli_with_seed_produces_deterministic_output() {
226224
}
227225

228226
#[test]
229-
#[ignore = "skipped due to timeout issues in CI, test with --ignored to run locally"]
230227
fn test_cli_batch_mode() {
231228
use std::fs;
232229
use std::process::Command;

0 commit comments

Comments
 (0)