CI: skip the test (windows-latest) gate in cancelled runs

With always() the gate also ran when a newer push cancelled the run,
taking a runner slot only to report a red check on the superseded
commit. !cancelled() still runs it when a test leg fails (a skipped
required check would count as passing), but not in a cancelled run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ivan 2026-10-14 20:29:16 +03:00
parent f0f0d6f58a
commit 691a022b12
No known key found for this signature in database
GPG Key ID: E656E12B8EADC31C

View File

@ -201,7 +201,7 @@ jobs:
windows-gate:
name: test (windows-latest)
needs: [platforms, test]
if: always()
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
steps:
- env: