Skip to content

Commit

Permalink
mkdir now makes the correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyTeichman committed Dec 5, 2023
1 parent 08422cf commit e3496b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ jobs:

steps:
- name: Set up coverage path
run: echo "COVERAGE_PATH=target/coverage/lcov.info" >> $GITHUB_ENV
run: |
echo "COVERAGE_PATH=target/coverage/lcov.info" >> $GITHUB_ENV
mkdir -p target/coverage
if: runner.os == 'Linux' || runner.os == 'macOS'

- name: Set up coverage path for Windows
run: |
echo "COVERAGE_PATH=target/coverage/lcov.info" >> $GITHUB_ENV
mkdir -p target/coverage
echo $COVERAGE_PATH
if: runner.os == 'Windows'
- name: Install Rust nightly toolchain
Expand All @@ -49,7 +52,6 @@ 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 e3496b4

Please sign in to comment.