Test #1118
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e | |
on: | |
workflow_dispatch: | |
pull_request: | |
merge_group: | |
push: | |
branches: | |
- main | |
jobs: | |
e2e-kind: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Run e2e tests | |
run: | | |
# By default make stops building on first non-zero exit code which | |
# in case of E2E tests will mean that code coverage will only be | |
# collected on successful runs. We want to collect coverage even | |
# after failing tests. | |
# With -k flag make will continue the build, but will return non-zero | |
# exit code in case of any errors. | |
ARTIFACT_PATH=/tmp/artifacts make -k test-e2e | |
- uses: cytopia/[email protected] | |
if: failure() | |
with: | |
name: e2e-artifacts | |
path: /tmp/artifacts/ | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: e2e-cover.out | |
flags: e2e | |
functionalities: fixes |