Skip to content

Commit

Permalink
chore: Add logging step to workflow for failed e2e tests (#1373)
Browse files Browse the repository at this point in the history
Signed-off-by: khhirani <[email protected]>
  • Loading branch information
khhirani authored Jul 27, 2021
1 parent 80934e5 commit e5a933d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
kubectl apply -k manifests/crds
kubectl apply -f test/e2e/crds
- name: Start controller
run: make start-e2e &
run: make start-e2e 2>&1 | sed -r "s/[[:cntrl:]]\[[0-9]{1,3}m//g" > /tmp/e2e-controller.log &
- name: Run e2e tests
run: make test-e2e
- name: Upload e2e-controller logs
uses: actions/upload-artifact@v2
with:
name: e2e-controller-k8s.log
path: /tmp/e2e-controller.log
if: ${{ failure() }}

0 comments on commit e5a933d

Please sign in to comment.