-
Notifications
You must be signed in to change notification settings - Fork 702
59 lines (50 loc) · 1.26 KB
/
e2e-test.yml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: e2e-test
on:
push:
paths-ignore:
- "website/**"
branches:
- "master"
pull_request:
paths-ignore:
- "website/**"
branches:
- "master"
jobs:
e2e-test:
name: Test on ubuntu
strategy:
fail-fast: true
matrix:
go: ["stable"]
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: docker compose
run: docker compose -f test/docker-compose.yaml up -d
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: true
- name: Install ginkgo
run: |
go install github.com/onsi/ginkgo/v2/ginkgo@latest
sudo cp ~/go/bin/ginkgo /usr/local/bin
- name: Get dependencies
run: |
go env
go mod tidy && git diff --exit-code go.mod go.sum
- name: E2E test
run: |
make e2e-test
- name: Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true
files: ./test/e2e/coverage.txt
name: jupiter-e2e
verbose: true