forked from testcontainers/testcontainers-go
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (36 loc) · 1.06 KB
/
toxiproxy-example.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
name: Toxiproxy example pipeline
on: [push, pull_request]
concurrency:
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}"
cancel-in-progress: true
jobs:
test-toxiproxy:
strategy:
matrix:
go-version: [1.18.x, 1.x]
runs-on: "ubuntu-latest"
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: modVerify
working-directory: ./examples/toxiproxy
run: go mod verify
- name: modTidy
working-directory: ./examples/toxiproxy
run: make tools-tidy
- name: gotestsum
working-directory: ./examples/toxiproxy
run: make test-unit
- name: Run checker
run: |
./scripts/check_environment.sh
- name: Test Summary
uses: test-summary/action@4ee9ece4bca777a38f05c8fc578ac2007fe266f7
with:
paths: "**/TEST-toxiproxy*.xml"
if: always()