--wait is not useful in case of Postgres, so use it only if our timeo… #1178
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # The Dependency Submission API requires write permission | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'liberica' | |
cache: 'gradle' | |
- run: ./gradlew jar testClasses | |
- run: cd sample && docker-compose up -d db && cd - | |
- run: ./gradlew test --info | |
- run: cd sample && docker-compose stop db && cd - | |
- run: cd sample && docker-compose build && cd - | |
- run: .github/workflows/check-readme-links.sh | |
- uses: mikepenz/[email protected] | |
if: ${{ github.ref == 'refs/heads/master' }} | |
with: | |
gradle-build-module: |- | |
:server | |
:slf4j | |
:jackson | |
:liquibase | |
:sample |