Skip to content

Update junit5 monorepo to v5.11.4 (#260) #561

Update junit5 monorepo to v5.11.4 (#260)

Update junit5 monorepo to v5.11.4 (#260) #561

Workflow file for this run

---
name: Build
"on":
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
jdk: ['21']
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Login to Docker Hub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Start Test Database
run: |
docker compose up -d --wait --quiet-pull
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: 'zulu'
java-version: ${{ matrix.jdk }}
java-package: jdk
cache: 'maven'
- name: Wait for database to initialise
run: |
echo "Waiting for HANA to start..."
timeout 600 bash -c "until docker logs hibernate-hdb-demo-hana-1 2>&1 | grep 'Ready at: ' > /dev/null 2>&1 ; do sleep 1 ; done"
echo "HANA is ready..."
- name: Build
run: |
mvn clean site install -B -Djdbc.url=jdbc:sap://localhost:39041 -Djdbc.user=SYSTEM -Djdbc.password=HXEHana1
- name: Stop test resources
if: always()
run: |
docker compose down > /dev/null 2>&1 || true