-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (39 loc) · 1.07 KB
/
mvn-integration-test.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
47
48
49
# Run Integration Tests against a Docker install on Github
name: Integration Test on Docker Deephaven
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Docker Pull Deephaven and Redpanda
run: |
cp .github/resources/integration-docker-compose.yml docker-compose.yml
docker compose pull
- name: Docker Up Deephaven and Redpanda
run: docker compose up -d
- name: Build with Maven
run: mvn -B verify --file pom.xml
- name: Save Docker Logs
run: |
mkdir logs
docker compose logs --no-color > logs/docker.log &
sleep 10
docker compose down
- name: Archive Results
uses: actions/upload-artifact@v4
with:
name: Integration Benchmarks and Logs
path: |
results/**/*
logs/**/*