Skip to content

Commit

Permalink
upload to codecov + set env in a windows-friendly way (maybe)
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-block committed Sep 5, 2024
1 parent 2f76d03 commit 7d8d1bd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,14 @@ jobs:
run: |
rustup component add llvm-tools-preview
cargo install grcov
RUSTFLAGS="-Cinstrument-coverage" LLVM_PROFILE_FILE="web5-rs-%p-%m.profraw" cargo test --package web5
ls -lha *.profraw
cargo test --package web5
env:
RUSTFLAGS: -Cinstrument-coverage
LLVM_PROFILE_FILE: web5-rs-%p-%m.profraw
- name: Upload test coverage to Codecov
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 #v4.5.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

build_aarch64_apple_darwin:
runs-on: macos-latest
Expand Down

0 comments on commit 7d8d1bd

Please sign in to comment.