Skip to content

Commit

Permalink
Fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Dec 21, 2023
1 parent e119133 commit ab41fe6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ jobs:
echo "DYLD_LIBRARY_PATH=${{ github.workspace }}/dist/Debug/lib" >> "$GITHUB_ENV"
echo "${{ github.workspace }}/dist/Debug/lib" >> "$GITHUB_PATH"
# On MacOS runners, the DYLD_LIBRARY_PATH is sometimes not set for some reason.
# Work around this.
- name: Run tests and determine coverage
run: |
# On MacOS runners, the DYLD_LIBRARY_PATH is sometimes not set for some reason.
# Work around this.
env | grep LIBRARY
[ -x "$DYLD_LIBRARY_PATH" ] || export DYLD_LIBRARY_PATH="${{ github.workspace }}/dist/Debug/lib"
[ -n "$DYLD_LIBRARY_PATH" ] || export DYLD_LIBRARY_PATH="${{ github.workspace }}/dist/Debug/lib"
env | grep LIBRARY
cargo +${{ matrix.rust-toolchain }} llvm-cov nextest --features ci --all-targets --no-fail-fast --lcov --output-path lcov.info
Expand Down

0 comments on commit ab41fe6

Please sign in to comment.