File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,25 @@ jobs:
2222
2323 strategy :
2424 matrix :
25+ # On pushes to tags or branches, test the whole matrix.
2526 os : >-
2627 ${{ github.event_name == 'pull_request'
2728 && fromJson('["ubuntu"]')
28- || fromJson('["ubuntu, "macos]') }}
29- python : ['3.9', '3.10', '3.11']
29+ || fromJson('["ubuntu", "macos"]') }}
30+ python : >-
31+ ${{ github.event_name == 'pull_request'
32+ && fromJson('["3.9"]')
33+ || fromJson('["3.9", "3.10", "3.11"]') }}
3034 # Optional environment is disabled for now as its not yet working
3135 # environment: [environment, environment-optional]
3236 conda-env : [environment]
37+ # On pull requests, only test two jobs:
38+ # Ubuntu with Python 3.9, macOS with Python 3.10.
39+ # Build & Test currently uses Python 3.11 (on ubuntu-focal).
40+ # Together, they cover the supported minor Python versions.
3341 include : >-
3442 ${{ github.event_name == 'pull_request'
35- && fromJson('[{"os": "macos, "python": "3.11 ", "conda-env": "environment"}]')
43+ && fromJson('[{"os": "macos" , "python": "3.10 ", "conda-env": "environment"}]')
3644 || fromJson('[]') }}
3745
3846 steps :
You can’t perform that action at this time.
0 commit comments