Skip to content

chore: remove MaxPermSize JVM arg in gradle.properties #2778

chore: remove MaxPermSize JVM arg in gradle.properties

chore: remove MaxPermSize JVM arg in gradle.properties #2778

name: Run Hibernate ORM integration tests
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- '*'
paths-ignore:
- '**/release_draft.yml'
- '**/maven*.yml'
jobs:
hibernate-integration-tests:
name: 'Run Hibernate ORM integration tests'
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Get changed files'
id: changed-files-specific
uses: tj-actions/changed-files@v41
with:
files_yaml: |
doc:
- '**/*.md'
- '**/docs/**'
- '**/*.jpg'
- '**/*.png'
- name: 'Check changed files'
id: changed-files
if: ${{steps.changed-files-specific.outputs.doc_only_changed == 'false' && steps.changed-files-specific.outputs.doc_only_modified == 'false'}}
run: echo "ONLY_DOCS=false" >> $GITHUB_OUTPUT
- name: 'Set up JDK 8'
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
- name: 'Run Hibernate ORM integration tests'
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
run: |
./gradlew --no-parallel --no-daemon test-hibernate-only
- name: Mask data
run: |
./gradlew --no-parallel --no-daemon maskJunitHtmlReport
- name: 'Archive junit results'
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false' && !cancelled()}}
uses: actions/upload-artifact@v4
with:
name: junit-report
path: ./wrapper/build/test-results
retention-days: 5
- name: 'Archive html summary report'
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false' && !cancelled()}}
uses: actions/upload-artifact@v4
with:
name: html-summary-report
path: ./wrapper/build/report
retention-days: 5