-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (38 loc) · 1.07 KB
/
ci.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
44
45
46
47
name: CI
on:
push:
branches:
- main
paths:
- 'e2e/**'
- 'wiremock-graphql-extension/**'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Java 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
- uses: getgauge/setup-gauge@master
with:
gauge-version: '1.5.0'
gauge-plugins: java, html-report
- name: Run unit test and install
run: make install
working-directory: e2e
- name: Run docker for e2e
run: make docker
working-directory: e2e
- name: Run e2e
run: make clean test_compile run TAGS='!unimplemented'
working-directory: e2e
- name: Run remote e2e
run: |-
sed -i 's/baseUrl=http:\/\/localhost:8080/baseUrl=http:\/\/localhost:8888/' src/test/resources/config.properties
make run TAGS='!unimplemented,remote'
working-directory: e2e