Skip to content

examples/docs: added spring project #35

examples/docs: added spring project

examples/docs: added spring project #35

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: zulu
java-version: 17
- 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
- name: Integration test spring project
run: |
cd examples/with_spring_gradle
./gradlew -q bootRun | tee schema_output
diff schema_output src/test/expected_default_schema