From 6e59324a2ed8577f19825c0095fbfd0ed9a47404 Mon Sep 17 00:00:00 2001 From: Heorhii Date: Fri, 15 Sep 2023 18:25:47 +0200 Subject: [PATCH] update test --- .github/workflows/test.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 414de9b4..0614f961 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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