Skip to content

Commit

Permalink
ignore hls and book-lints in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Oct 20, 2024
1 parent d2b158f commit fb0de07
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ coverage:
# Test files aren't important for coverage
ignore:
- "tests"
- "hls"
- "book-lints"

# Make comments less noisy
comment:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ target/
generated.hpp
map.hpp
*.map
*.pbo
# *.pbo

*.nupkg

Expand Down
7 changes: 7 additions & 0 deletions libs/signing/tests/ace_ai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ fn write() {
assert_eq!(public_disk, buffer);

// Do we generate the stored checksum?
println!("opening file: {:?}", file.join("source.pbo"));
println!("cwd: {:?}", std::env::current_dir().unwrap());
// print tree in cwd
for entry in std::fs::read_dir("./tests/ace_ai_3.15.2.69").unwrap() {
let entry = entry.unwrap();
println!("{:?}", entry.path());
}
let mut pbo = ReadablePbo::from(File::open(file.join("source.pbo")).unwrap()).unwrap();
let checksum = pbo.gen_checksum().unwrap();
assert_eq!(&checksum, pbo.checksum());
Expand Down

0 comments on commit fb0de07

Please sign in to comment.