Skip to content

Commit

Permalink
connections codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushAgrawal-A2 committed Dec 23, 2024
1 parent b9980fb commit 0b44a5e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,14 @@ jobs:
env:
RUSTC_BOOTSTRAP: 1
run: |
grcov $(find . -name "grcov-*.profraw" -print) \
mkdir -p coverage
chmod -R 755 coverage
# Find profraw files in current project directory only
find quadratic-*/target -name "grcov-*.profraw" -type f -print > profraw_files.txt
# Run grcov with explicit file list
grcov $(cat profraw_files.txt) \
--branch \
--ignore-not-existing \
--binary-path ./target/debug/ \
Expand All @@ -183,7 +190,8 @@ jobs:
--ignore "./src/wasm_bindings/*" \
--ignore "./src/bin/*" \
--ignore "./docker/*" \
-o lcov.info
--ignore "**/target/*" \
-o coverage/lcov.info
- name: Upload coverage reports to Codecov quadratic-connection
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 0b44a5e

Please sign in to comment.