Skip to content

Update flywayVersion to v10 (major) - autoclosed #1132

Update flywayVersion to v10 (major) - autoclosed

Update flywayVersion to v10 (major) - autoclosed #1132

Workflow file for this run

name: tests
on:
push:
branches:
- main
- master
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
gradle-test:
name: "Run tests on JVM with gradle"
runs-on: ubuntu-latest
services:
db:
image: postgres:16.0
ports:
- 5432:5432
env:
POSTGRES_DB: aisu_test
POSTGRES_USER: aisu
POSTGRES_PASSWORD: 4ab4008b362142c391cc9e1ab98addc6b25f00f5
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
redis:
image: redis:7.2.2
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '19'
cache: 'gradle'
- run: ./gradlew build -x test --no-daemon
- run: ./gradlew migrateTestingDatabase --no-daemon
- run: ./gradlew test --no-daemon