feat: add metrics document generation #977
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
# The workflow to check main after push. | |
name: Main checks after push and during pull requests | |
on: | |
push: | |
branches: [ 'main' ] | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
java-version: [ 11, 17, 21 ] | |
name: Build on ${{ matrix.runs-on }} with jdk ${{ matrix.java-version }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: temurin | |
- name: Build with Gradle | |
run: make build | |
- name: Run unit tests | |
run: make test | |
- name: Run integration tests | |
run: make integration_test | |
- name: Upload build reports | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: build-reports-${{ matrix.java-version }} | |
path: '**/build/reports/**' | |
e2e_test: | |
strategy: | |
matrix: | |
java-version: [ 11 ] | |
test: [ 'LocalSystem', 'S3', 'Gcs', 'Azure' ] | |
name: E2E tests for ${{ matrix.test }} with jdk ${{ matrix.java-version }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build Docker image | |
run: make docker_image | |
- name: Run E2E tests | |
timeout-minutes: 30 | |
run: make E2E_TEST=${{ matrix.test }} e2e_test | |
# TODO: publish docker image |