Skip to content

chore(pom.xml): add newline at the end of the file for consistency an… #165

chore(pom.xml): add newline at the end of the file for consistency an…

chore(pom.xml): add newline at the end of the file for consistency an… #165

Workflow file for this run

name: Build and Test
on:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
permissions:
contents: write
pull-requests: write
jobs:
build-test:
uses: liquibase/build-logic/.github/workflows/[email protected]
secrets: inherit
with:
java: '[17, 18]'
os: '["ubuntu-latest", "windows-latest"]'
hibernate-test:
name: Test Hibernate ${{ matrix.hibernate }}
needs: build-test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
hibernate: [ "5.5.9.Final", "5.4.33.Final", "5.3.27.Final" ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
cache: 'maven'
- name: Run Compatibility Tests
run: mvn -B jacoco:prepare-agent surefire:test -Dhibernate.version=${{ matrix.hibernate }}
- name: Run Tests
run: mvn -B jacoco:prepare-agent surefire:test
- name: Archive Test Results
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: test-reports-hibernate-${{ matrix.hibernate }}
path: |
**/target/surefire-reports
**/target/jacoco.exec
dependabot:
needs: hibernate-test
uses: liquibase/build-logic/.github/workflows/[email protected]
secrets: inherit