File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 COVERALLS_FAIL_ON_ERROR : true
2121
2222jobs :
23- # This sets the the operating systems in one place, which is used the following jobs/tests
23+ # Set the operating system matrix for the following jobs/tests
2424 # conda-user-build
2525 # conda-forge-build
2626 # pip-build
3131 matrix_os : ${{ steps.set-matrix.outputs.matrix_os }}
3232 steps :
3333 - id : set-matrix
34- run : echo "matrix_os=[\"windows-latest\", \"ubuntu-latest\", \"macos-latest\"]" >> $GITHUB_OUTPUT
34+ run : |
35+ if [[ "${{ github.event_name }}" == "pull_request" && "${{ github.base_ref }}" == "develop" ]]; then
36+ echo "matrix_os=[ \"ubuntu-latest\"]" >> $GITHUB_OUTPUT
37+ else
38+ echo "matrix_os=[\"windows-latest\", \"ubuntu-latest\", \"macos-latest\"]" >> $GITHUB_OUTPUT
39+ fi
3540
3641
3742 # Hindcast tests only run on pull requests. On push events,
You can’t perform that action at this time.
0 commit comments