Skip to content

Commit 0d03681

Browse files
harishsurfbowenislandsong
authored andcommitted
Add workflow to save e2e test artifacts
This commit uploads e2e testing results to OLM repo artifect for 90 days for test flak analysis.
1 parent ff94842 commit 0d03681

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)