Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
docker-compose workflow for test
Browse files Browse the repository at this point in the history
  • Loading branch information
JaneJeon committed Oct 26, 2021
1 parent b6ad316 commit ad2b2bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
env:
CACHE_KEY: npm-cache-key-node-v${{ matrix.node-version }}
- run: npm i
- run: docker-compose up -d
- name: Test
run: npm test -- --ci --runInBand --reporters=default --reporters=jest-junit
env:
Expand All @@ -59,3 +60,5 @@ jobs:
if: always() # always run even if the previous step fails
with:
report_paths: reports/jest-node*/*.xml
- run: docker-compose down
if: always()
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ services:
- 5432:5432
env_file:
- .db.env
restart: unless-stopped

0 comments on commit ad2b2bd

Please sign in to comment.