-
Notifications
You must be signed in to change notification settings - Fork 804
41 lines (39 loc) · 1 KB
/
acceptance-tests.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
name: OpenTelemetry Acceptance Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
acceptance-tests:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Check out oats
uses: actions/checkout@v4
with:
repository: grafana/oats
ref: v0.1.0
path: oats
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: 'maven'
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
cache-dependency-path: oats/go.sum
- name: Run the Maven verify phase
run: |
./mvnw clean install -DskipTests
- name: Run acceptance tests
run: ./scripts/run-acceptance-tests.sh
- name: upload log file
uses: actions/upload-artifact@v4
if: failure()
with:
name: OATS logs
path: oats/yaml/build/**/*.log