-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (41 loc) · 1.03 KB
/
wiremock-test.yml
File metadata and controls
51 lines (41 loc) · 1.03 KB
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
name: WireMock Smoke Test
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
wiremock-smoke-test:
name: WireMock Smoke Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: Download Go dependencies
run: go mod download
- name: Install protoc
run: make proto-install
- name: Setup proto files from go mod cache
run: ./scripts/setup-proto-files.sh
- name: Run smoke test
run: make mock-test
- name: Upload logs on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: wiremock-logs
path: wiremock/wiremock.log
if-no-files-found: ignore