File tree Expand file tree Collapse file tree 1 file changed +22
-7
lines changed
Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,31 @@ jobs:
3535 --health-timeout 5s
3636 --health-retries 5
3737 steps :
38- - uses : actions/checkout@v3
39- - name : Set up JDK 11
40- uses : actions/setup-java@v3
38+ - uses : actions/checkout@v4
39+ - name : Set up JDK 17
40+ uses : actions/setup-java@v4
4141 with :
42- java-version : ' 11 '
42+ java-version : ' 17 '
4343 distribution : ' temurin'
44+ - name : Setup Gradle
45+ uses : gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
4446 - name : Build with Gradle
45- uses : gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
46- with :
47- arguments : build --no-daemon
47+ run : ./gradlew build
48+ env :
49+ POSTGRES_DB : personia_test
50+ POSTGRES_USER : postgres
51+ POSTGRES_PASSWORD : postgres
52+ JDBC_URL : jdbc:postgresql://localhost:5432
53+ DATABASE : personia_test
54+ DB_USERNAME : postgres
55+ DB_PASSWORD : postgres
56+ JWT_SECRET : secret
57+ JWT_ISSUER : http://0.0.0.0:8080/
58+ JWT_AUDIENCE : http://0.0.0.0:8080/hierarchy
59+ JWT_REALM : Access to 'hierarchy'
60+ JWT_EXPIRATION : 31536000
61+ - name : Test with Gradle
62+ run : ./gradlew test jacocoTestReport
4863 env :
4964 POSTGRES_DB : personia_test
5065 POSTGRES_USER : postgres
You can’t perform that action at this time.
0 commit comments