Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jotape24 committed Jan 31, 2025
2 parents d77f25c + f74a68b commit 3003799
Show file tree
Hide file tree
Showing 87 changed files with 17,340 additions and 4,270 deletions.
10 changes: 10 additions & 0 deletions .github/hooks/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# Delete existing coverage files
find coverage/ -type f -name '*' -exec rm {} +

# Run tests with coverage
RUSTFLAGS="-C instrument-coverage" LLVM_PROFILE_FILE="coverage/coverage-%p-%m.profraw" cargo test

# Generate coverage report
grcov . --binary-path ./target/debug/ -s . --ignore-not-existing --ignore "*cargo*" -t lcov > coverage/lcov.info
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
CL-test.zone
.vscode
.github/workflows
.github/hooks

# coverage
coverage/
Expand Down
Loading

0 comments on commit 3003799

Please sign in to comment.