about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilfred Hughes <wilfred@meta.com>2024-04-08 11:36:09 -0700
committerWilfred Hughes <wilfred@meta.com>2024-04-08 11:36:09 -0700
commit6df559f70655e25f087ef7c51324949cac43b2a1 (patch)
tree2688bceaafc6a4b425ed32fee821e74cfaad31c2
parent7a8374c162c64c17e865b98aad282d16b16e96d6 (diff)
downloadrust-6df559f70655e25f087ef7c51324949cac43b2a1.tar.gz
rust-6df559f70655e25f087ef7c51324949cac43b2a1.zip
Run Windows tests on PRs too
Previously PRs would only do a build on Windows, which confusingly
meant that PRs got a green tick for Windows despite not testing them.

See discussion in #17019.
-rw-r--r--.github/workflows/ci.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 08ad10c2971..a10345a7060 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -91,7 +91,7 @@ jobs:
         run: cargo build --quiet ${{ env.USE_SYSROOT_ABI }}
 
       - name: Test
-        if: matrix.os == 'ubuntu-latest' || github.event_name == 'push'
+        if: matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest' || github.event_name == 'push'
         run: cargo test ${{ env.USE_SYSROOT_ABI }} -- --nocapture --quiet
 
       - name: Switch to stable toolchain