-
Notifications
You must be signed in to change notification settings - Fork 54
43 lines (37 loc) · 1.07 KB
/
e2e.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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