Skip to content

Commit eb2b80f

Browse files
Merge pull request #1618 from Bowenislandsong/feat/e2e-artifacts
Add workflow to save e2e test artifacts
2 parents ff94842 + 0d03681 commit eb2b80f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12-
- run: make -f x.mk e2e-local NODES=2
12+
- run: make -f x.mk e2e-local NODES=2 JUNIT_DIRECTORY=./artifacts/
13+
- name: Archive production artifacts # test results are only uploaded if any of the e2e tests fails
14+
if: ${{ failure() }}
15+
uses: actions/upload-artifact@v2
16+
with:
17+
name: e2e-test-output-${{ github.sha }}-${{ github.run_id }}
18+
path: ${{ github.workspace }}/bin/artifacts/*

0 commit comments

Comments
 (0)