about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-09-29 13:34:19 +0200
committerLukas Wirth <lukastw97@gmail.com>2023-09-29 13:40:55 +0200
commitdfeff9f40b77c2a08ea5b454028f2380269f77bf (patch)
treea20fbbd020081576a69a6ed9463e9d844ffcfecf
parenta382e649ca090b3ef9a6fe2f823d1a4282580f86 (diff)
downloadrust-dfeff9f40b77c2a08ea5b454028f2380269f77bf.tar.gz
rust-dfeff9f40b77c2a08ea5b454028f2380269f77bf.zip
Only run tests on linux in pull requests
-rw-r--r--.github/workflows/ci.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index fb7b4b07f98..6dc339eddf3 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -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