Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarhiievHE committed Sep 15, 2023
1 parent 5de3b2b commit 6e59324
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Start docker containers
run: |
docker-compose -f test-docker-compose.yml up -d
sleep 10 # wait for database to be ready
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
Expand All @@ -42,5 +37,12 @@ jobs:

- run: npm test

- name: Prepear docker containers for integration tests
run: |
docker-compose -f test-docker-compose.yml up -d
sleep 10 # wait for database to be ready
- name: Client test
run: node --test test/client.js
run: |
node --test test/client.js
node --test test/system.js

0 comments on commit 6e59324

Please sign in to comment.