Skip to content

Chrome DevTools for coding agents

ci: run Windows and macOS tests only on release or labeled PRs (#3171)

Alex Rudenkof033c93b4b8a
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index 25e49f92..6480fc8d 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -17,10 +17,9 @@ jobs:
strategy:
fail-fast: false
matrix:
- os:
- - ubuntu-latest
- - windows-latest
- - macos-latest
+ # Run Windows and macOS tests only on release PRs or on PRs with the
+ # `full-ci` label.
+ os: ${{ fromJSON((startsWith(github.head_ref, 'release-please') || contains(github.event.pull_request.labels.*.name, 'full-ci')) && '["ubuntu-latest", "windows-latest", "macos-latest"]' || '["ubuntu-latest"]') }}
node:
- 22
- 24