Skip to content

BIGTOP-4120. Fix CI workflow (#8) #17

BIGTOP-4120. Fix CI workflow (#8)

BIGTOP-4120. Fix CI workflow (#8) #17

Workflow file for this run

on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: ['17', '21']
services:
db:
image: postgres
ports:
- 5432:5432
env:
POSTGRES_DB: bigtop_manager
POSTGRES_PASSWORD: postgres
prom:
image: prom/prometheus
ports:
- 9090:9090
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- run: ./mvnw clean install -B -Djava.version=${{ matrix.java }}