Skip to content

Commit

Permalink
FIx patching on windows: Use bash as shell
Browse files Browse the repository at this point in the history
Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu committed Feb 26, 2024
1 parent fa74b02 commit 7397d0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,15 @@ jobs:
with:
workspaces: "repo-to-test -> target"

- run: |
- name: Build and run tests
run: |
cargo update
cargo nextest run ${{ matrix.features }} $PATCH_ARGS --workspace
cargo test --doc ${{ matrix.features }} $PATCH_ARGS --workspace
working-directory: repo-to-test
env:
PATCH_ARGS: --config=patch.crates-io.cc.path="../cc"
shell: bash

# Dummy job to have a stable name for the "all tests pass" requirement
tests-pass:
Expand Down

0 comments on commit 7397d0a

Please sign in to comment.