From e9d92a2da4c960e5fb5d15d1d3111d22e0828419 Mon Sep 17 00:00:00 2001 From: sdikyarts Date: Wed, 15 May 2024 18:20:29 +0700 Subject: [PATCH] Fix database connection --- .github/workflows/ci.yml | 1 + src/main/resources/application-dev.properties | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6fb92f..42d1813 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,6 +82,7 @@ jobs: - name: Test with Gradle run: | sed -i "s|\${JDBC_DATABASE_URL}|${{ secrets.JDBC_DATABASE_URL }}|g" src/main/resources/application-prod.properties + ./gradlew check --info --stacktrace ./gradlew test ./gradlew jacocoTestReport diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index f901512..08ad852 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -1,6 +1,6 @@ spring.datasource.url=jdbc:postgresql://localhost:5432/subscription-admin spring.datasource.username=postgres -spring.datasource.password=super +spring.datasource.password=postgres spring.jpa.hibernate.ddl-auto=create-drop spring.jpa.show-sql=true spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect