File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 44 pull_request :
55 branches : [master]
66 types : [synchronize, opened, reopened, ready_for_review]
7+ inputs :
8+ os : ' ubuntu-latest'
79
810 # run checks on any change of master, including merge of PRs
911 push :
1012 branches : [master]
1113
14+ workflow_dispatch :
15+ inputs :
16+ os :
17+ description : ' The operating system to run the tests on'
18+ required : True
19+ default : ' ubuntu-latest'
20+ type : choice
21+ options :
22+ - macos-latest
23+ - windows-latest
24+
1225concurrency : # Cancel previous workflows on the same pull request
1326 group : ${{ github.workflow }}-${{ github.ref }}
1427 cancel-in-progress : true
1528
1629jobs :
1730 build-and-test :
18- name : Test on (${{ matrix .os }})
19- runs-on : ${{ matrix .os }}
31+ name : Test on (${{ inputs .os }})
32+ runs-on : ${{ inputs .os }}
2033 strategy :
2134 fail-fast : true
2235 matrix :
23- # "macos-latest", "windows-latest"
24- os : ["ubuntu-latest", ]
2536 python-version : ['3.9', ]
2637 defaults :
2738 # by default run in bash mode (required for conda usage)
You can’t perform that action at this time.
0 commit comments