Skip to content

Commit c93a64c

Browse files
committed
fixed env at test workflow
1 parent b72854e commit c93a64c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/backend-tests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@ jobs:
2121

2222
- name: Run tests
2323
working-directory: ./apps/jobboard-backend
24+
env:
25+
SPRING_DATASOURCE_URL: jdbc:h2:mem:testdb
26+
SPRING_DATASOURCE_USERNAME: sa
27+
SPRING_DATASOURCE_PASSWORD: password
28+
MAIL_USERNAME: test
29+
MAIL_PASSWORD: test
30+
APP_MAIL_FROM: [email protected]
31+
APP_ENV: test
32+
APP_JWT_SECRET: test-secret-key-for-testing-purposes-only
33+
APP_VERIFY_EMAIL_URL: http://localhost/verify
34+
APP_RESET_PASSWORD_URL: http://localhost/reset
35+
APP_GCS_BUCKET: test-bucket
36+
APP_CORS_ALLOWED_ORIGINS: http://localhost:3000
2437
run: |
2538
chmod +x ./mvnw
2639
./mvnw -B test

0 commit comments

Comments
 (0)