Skip to content

Commit d889ec1

Browse files
committed
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 rust-lang#17019.
1 parent 252f1d0 commit d889ec1

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/.github/workflows

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
run: cargo build --quiet ${{ env.USE_SYSROOT_ABI }}
9292

9393
- name: Test
94-
if: matrix.os == 'ubuntu-latest' || github.event_name == 'push'
94+
if: matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest' || github.event_name == 'push'
9595
run: cargo test ${{ env.USE_SYSROOT_ABI }} -- --nocapture --quiet
9696

9797
- name: Switch to stable toolchain

0 commit comments

Comments
 (0)