Skip to content

build: simplify JVM target specification (#11) #42

build: simplify JVM target specification (#11)

build: simplify JVM target specification (#11) #42

Workflow file for this run

name: Run Gradle on PRs
on:
push:
branches:
- master
pull_request:
jobs:
gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build and test Plugin
run: ./gradlew build
- name: Build and test Sample Project
run: |
cd examples/hibernate_standalone/
./gradlew build
- name: Test default schema task - includeBuild
run: |
cd examples/hibernate_standalone/
./gradlew -q schema > schema_output
diff schema_output src/test/expected_default_schema
- name: Integration tests with local plugin repo
run: |
./gradlew publishAllPublicationsToLocalPluginRepositoryRepository
cd examples/with_local_plugin_repository
./gradlew -q schema | tee schema_output
diff schema_output src/test/expected_default_schema
./gradlew integrationTests