Always run tests in bash

This is only necessary for the windows-gnu target, but causes no
issues anywhere else.
This commit is contained in:
Jordan Rose 2023-10-13 17:43:14 -07:00 committed by Anthony Ramine
parent 8b86852d8a
commit 016d5cb61e
1 changed files with 2 additions and 0 deletions

View File

@ -205,11 +205,13 @@ jobs:
- if: "!matrix.check_only"
run: cargo test --target ${{ matrix.target }} ${{ matrix.extra_test_args }}
name: Run tests
shell: bash
env: ${{ matrix.custom_env }}
- if: matrix.check_only
# We `build` because we want the linker to verify we are cross-compiling correctly.
run: cargo build --target ${{ matrix.target }} --tests
name: Build tests
shell: bash
env: ${{ matrix.custom_env }}
- name: Test boring-sys cargo publish
# Running `cargo publish --dry-run` tests two things: