Only run tests on linux in pull requests

This commit is contained in:
Lukas Wirth 2023-09-29 13:34:19 +02:00
parent a382e649ca
commit dfeff9f40b

View file

@ -84,6 +84,7 @@ jobs:
run: cargo build --quiet ${{ env.USE_SYSROOT_ABI }}
- name: Test
if: matrix.os == 'ubuntu-latest' || github.event_name == 'push'
run: cargo test ${{ env.USE_SYSROOT_ABI }} -- --nocapture --quiet
- name: Switch to stable toolchain