Skip to content

Commit

Permalink
added mkdir ${{ env.COVERAGE_PATH }}
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyTeichman committed Dec 5, 2023
1 parent e6c5750 commit 08422cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
- name: Set up coverage path for Windows
run: |
echo "COVERAGE_PATH=target/coverage/lcov.info" >> $GITHUB_ENV
mkdir -p D:/coverage
echo $COVERAGE_PATH
if: runner.os == 'Windows'
- name: Install Rust nightly toolchain
Expand All @@ -50,6 +49,7 @@ jobs:
run: cargo test --verbose
- name: Collecting code coverage
run: |
mkdir -p ${{ env.COVERAGE_PATH }}
cargo install grcov
grcov ${GITHUB_WORKSPACE}/coverage/ -b target/debug/ -s . --keep-only 'src/*' -t lcov --llvm --branch --ignore-not-existing --output-path ${{ env.COVERAGE_PATH }} --token ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Upload coverage to Coveralls
Expand Down

0 comments on commit 08422cf

Please sign in to comment.