feat: Optional Benchmark Warmups #508
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
# Copyright (c) 2023-2024 Deephaven Data Labs and Patent Pending | |
# 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' | |
- 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/**/* |