File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,18 @@ jobs:
2424 fail-fast : ${{ github.event_name == 'pull_request' }}
2525 max-parallel : ${{ github.event_name == 'pull_request' && 2 || 6 }}
2626 matrix :
27- os : [ubuntu-latest, macos-latest]
27+ os : >-
28+ ${{ github.event_name == 'pull_request'
29+ && fromJson('["ubuntu-latest"]')
30+ || fromJson('["ubuntu-latest", "macos-latest"]') }}
2831 python : ['3.9', '3.10', '3.11']
2932 # Optional environment is disabled for now as its not yet working
3033 # environment: [environment, environment-optional]
3134 conda-env : [environment]
35+ include : >-
36+ ${{ github.event_name == 'pull_request'
37+ && fromJson('[{"os": "macos-latest", "python": "3.11", "conda-env": "environment"}]')
38+ || fromJson('[]') }}
3239
3340 steps :
3441 - uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments