-
Notifications
You must be signed in to change notification settings - Fork 97
39 lines (37 loc) · 1.03 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
name: e2e
on:
push:
branches:
- main
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
pull_request:
jobs:
test:
strategy:
matrix:
library:
- autosdk
- databasesql
- gin
- grpc
- kafka-go
- nethttp
- nethttp_custom
- otelglobal
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Clean
run: |
rm -f ./internal/test/e2e/${{ matrix.library }}/traces{,-orig}.json
touch ./internal/test/e2e/${{ matrix.library }}/traces-orig.json
- name: Run docker-compose
uses: hoverkraft-tech/[email protected]
with:
compose-file: "./internal/test/e2e/${{ matrix.library }}/compose.yaml"
- name: Setup BATS
uses: mig4/setup-bats@af9a00deb21b5d795cabfeaa8d9060410377686d # v1
- name: Verify with BATS
run: bats ./internal/test/e2e/${{ matrix.library }}/verify.bats