Skip to content

Commit 136feea

Browse files
committed
test
1 parent 016d7f5 commit 136feea

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,14 @@ jobs:
2727
- name: Unit tests
2828
run: npm run test:cov
2929

30-
- name: Build and run containers
31-
run: docker compose up --build -d
30+
- name: Start postgres
31+
run: docker compose up postgres -d
32+
33+
- name: Run migrations
34+
run: docker compose up --build migration
35+
36+
- name: Start remaining containers
37+
run: docker compose up api -d
3238

3339
- name: Run acceptance tests
3440
run: npm run test:acceptance

prisma/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@ RUN npm ci --verbose
1212
RUN chmod +x /app/wait-for-it.sh
1313
RUN chmod +x /app/entrypoint.sh
1414

15-
ENTRYPOINT ["/app/entrypoint.sh"]
16-
17-
CMD ["sh"]
15+
ENTRYPOINT ["/app/entrypoint.sh"]

0 commit comments

Comments
 (0)