Skip to content

Commit 7bd2210

Browse files
committed
test only in ubuntu if PR
1 parent 23d7d26 commit 7bd2210

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/run_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# Fail fast to save CI resources
2323
fail-fast: true
2424
matrix:
25-
os: [ubuntu-latest, macos-latest, windows-latest]
25+
os: ${{ github.event_name == 'pull_request' && fromJSON('["ubuntu-latest"]') || fromJSON('["ubuntu-latest", "macos-latest", "windows-latest"]') }}
2626
python-version: ${{ github.event_name == 'pull_request' && fromJSON('["3.10"]') || fromJSON('["3.10", "3.12"]') }}
2727

2828
steps:

0 commit comments

Comments
 (0)