File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 8
8
# TODO(negz): Remove this and all references to the v2 branches below
9
9
# if/when v2 is merged into main. It's a temporary branch for v2 preview
10
10
# development.
11
- - v2
11
+ - v2
12
12
pull_request : {}
13
13
workflow_dispatch : {}
14
14
@@ -299,6 +299,13 @@ jobs:
299
299
secret : ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }}
300
300
path : _output/tests/e2e-tests.xml
301
301
302
+ - name : Upload E2E Test Artifacts to GitHub
303
+ if : ' !cancelled()'
304
+ uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4
305
+ with :
306
+ name : e2e-tests-${{ matrix.test-suite }}
307
+ path : _output/tests/**
308
+
302
309
publish-artifacts :
303
310
runs-on : ubuntu-22.04
304
311
Original file line number Diff line number Diff line change 74
74
# https://github.com/earthly/earthly/issues/4143 is fixed.
75
75
RUN gotestsum \
76
76
--rerun-fails \
77
- --no-color = false \
78
- --format ${GOTESTSUM_FORMAT } \
79
- --junitfile e2e-tests.xml \
80
- --raw-command go tool test2json -t -p E2E ./e2e -test .v ${FLAGS }
77
+ --rerun-fails-report e2e-rerun-fails.txt \
78
+ --hide-summary output \ # See https://github.com/gotestyourself/gotestsum/issues/423
79
+ --no-color = false \
80
+ --format ${GOTESTSUM_FORMAT } \
81
+ --junitfile e2e-tests.xml \
82
+ --raw-command go tool test2json -t -p E2E ./e2e -test .v ${FLAGS }
81
83
END
82
84
FINALLY
83
85
SAVE ARTIFACT --if-exists e2e-tests.xml AS LOCAL _output/tests/e2e-tests.xml
86
+ SAVE ARTIFACT --if-exists e2e-rerun-fails.txt AS LOCAL _output/tests/e2e-rerun-fails.txt
84
87
END
85
88
86
89
# hack builds Crossplane, and deploys it to a kind cluster. It runs in your
You can’t perform that action at this time.
0 commit comments