Fix flaky SlidingWindowTest
#224
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |