Compare commits
2 Commits
41d5f5c9b8
...
f655f2089e
Author | SHA1 | Date | |
---|---|---|---|
f655f2089e | |||
0691e708e8 |
@ -9,6 +9,20 @@ jobs:
|
|||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container:
|
container:
|
||||||
image: "cimg/openjdk:21.0-node"
|
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:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -35,7 +35,6 @@ dependencies {
|
|||||||
implementation("org.springframework.boot:spring-boot-starter-oauth2-client:3.3.4")
|
implementation("org.springframework.boot:spring-boot-starter-oauth2-client:3.3.4")
|
||||||
runtimeOnly("org.postgresql:postgresql")
|
runtimeOnly("org.postgresql:postgresql")
|
||||||
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0")
|
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0")
|
||||||
testImplementation("com.h2database:h2")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<Test> {
|
tasks.withType<Test> {
|
||||||
|
Loading…
Reference in New Issue
Block a user