Skip to content

Commit 5ac8582

Browse files
committed
fixing:github action
1 parent d83a0c4 commit 5ac8582

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@ jobs:
4343
pg_isready -h localhost -p 5432 && break || sleep 5
4444
done
4545
46-
# - name: Run migrations
47-
# env:
48-
# DB_USERNAME: postgres
49-
# DB_PASSWORD: 12345678
50-
# DB_NAME: database_services_test
51-
# DB_HOST: localhost
52-
# run: yarn migrate
46+
- name: Run migrations
47+
env:
48+
DB_USERNAME: postgres
49+
DB_PASSWORD: 12345678
50+
DB_NAME: database_services_test
51+
DB_HOST: localhost
52+
JWT_SECRET: supersecretkey
53+
JWT_EXPIRES_IN: 1h
54+
run: yarn migrate
5355

5456
- name: Run tests
5557
env:

0 commit comments

Comments
 (0)