File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 2929 PYTEST_THEME_MODE
3030
3131jobs :
32+ fail-fast :
33+ if : >-
34+ github.event_name == 'pull_request' ||
35+ github.event.workflow_run.conclusion == 'success'
36+
37+ strategy :
38+ matrix :
39+ os : [macos-latest, windows-latest]
40+
41+ runs-on : ${{ matrix.os }}
42+
43+ timeout-minutes : 2
44+
45+ steps :
46+ - name : Check out the action locally
47+ uses : actions/checkout@v3
48+ with :
49+ path : test
50+ - name : Fail-fast in unsupported environments
51+ continue-on-error : true
52+ id : fail-fast
53+ uses : ./test
54+ - name : Error if action did not fail-fast in unsupported environments
55+ if : steps.fail-fast.outcome == 'success'
56+ run : |
57+ >&2 echo This action should fail-fast in unsupported environments.
58+ exit 1
59+
3260 smoke-test :
3361 if : >-
3462 github.event_name == 'pull_request' ||
You can’t perform that action at this time.
0 commit comments