File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,7 @@ jobs:
308
308
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
309
309
310
310
- name : " push|schedule|workflow_dispatch: make ${{ inputs.target }}"
311
+ id : push-make-target
311
312
run : |
312
313
# print running stats on disk occupancy
313
314
(while true; do df -h | grep "${HOME}/.local/share/containers"; sleep 30; done) &
@@ -320,6 +321,7 @@ jobs:
320
321
IMAGE_TAG : " ${{ steps.calculated_vars.outputs.IMAGE_TAG }}"
321
322
CONTAINER_BUILD_CACHE_ARGS : " ${{ steps.extra-podman-build-args.outputs.EXTRA_PODMAN_BUILD_ARGS }} --cache-from ${{ env.CACHE }} --cache-to ${{ env.CACHE }}"
322
323
- name : " pull_request: make ${{ inputs.target }}"
324
+ id : pr-make-target
323
325
run : |
324
326
# print running stats on disk occupancy
325
327
(while true; do df -h | grep "${HOME}/.local/share/containers"; sleep 30; done) &
@@ -687,7 +689,7 @@ jobs:
687
689
# we leave little free disk space after we mount LVM for podman storage
688
690
# not enough to install playwright; running playwright in podman uses the space we have
689
691
- name : Run Playwright tests
690
- if : ${{ contains(inputs.target, 'codeserver') }}
692
+ if : ${{ !cancelled() && contains(inputs.target, 'codeserver') && (steps.push-make-target.outcome == 'success' || steps.pr-make-target.outcome == 'success ') }}
691
693
# --ipc=host because Microsoft says so in Playwright docs
692
694
# --net=host because testcontainers connects to the Reaper container's exposed port
693
695
# we need to pass through the relevant environment variables
You can’t perform that action at this time.
0 commit comments