diff --git a/.gitea/workflows/qs.yml b/.gitea/workflows/qs.yml index 43fcf81..d796d4c 100644 --- a/.gitea/workflows/qs.yml +++ b/.gitea/workflows/qs.yml @@ -9,6 +9,20 @@ jobs: runs-on: "ubuntu-latest" container: image: "cimg/openjdk:21.0-node" + services: + postgres: + image: postgres:15 + env: + POSTGRES_DB: lf8_starter_db + POSTGRES_USER: lf8_starter + POSTGRES_PASSWORD: secret + ports: + - 5432:5432 + options: >- + --health-cmd="pg_isready -U lf8_starter" + --health-interval=10s + --health-timeout=5s + --health-retries=3 steps: - name: "Checkout" uses: actions/checkout@v3 diff --git a/build.gradle.kts b/build.gradle.kts index be64659..e9345bc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -35,7 +35,6 @@ dependencies { implementation("org.springframework.boot:spring-boot-starter-oauth2-client:3.3.4") runtimeOnly("org.postgresql:postgresql") implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0") - testImplementation("com.h2database:h2") } tasks.withType {