From 1b637cc1a5489911fb5cf2efeb15b91f7530ecdf Mon Sep 17 00:00:00 2001 From: Anton Baliasnikov Date: Mon, 4 Mar 2024 11:36:52 +0000 Subject: [PATCH] ci: test --- .github/workflows/integration-tests-api.yml | 30 ++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/integration-tests-api.yml b/.github/workflows/integration-tests-api.yml index c636f00216..4308d9da4b 100644 --- a/.github/workflows/integration-tests-api.yml +++ b/.github/workflows/integration-tests-api.yml @@ -88,18 +88,18 @@ jobs: ls -1 /tmp/**/*.tar | xargs --no-run-if-empty -L 1 docker load --input docker image ls -a -# - uses: isbang/compose-action@v1.5.1 -# with: -# compose-file: "./docker/docker-compose-prebuilt.yaml" -# down-flags: "--volumes" -# -# - name: API tests run (parallel) -# working-directory: packages/integration-tests -# run: | -# npm ci --no-audit -# npx playwright install --with-deps chromium -# -# - name: API tests run (parallel) -# working-directory: packages/integration-tests -# run: | -# npx jest --verbose --testPathPattern=${{ matrix.test-pattern }} + - uses: isbang/compose-action@v1.5.1 + with: + compose-file: "./docker/docker-compose-prebuilt.yaml" + down-flags: "--volumes" + + - name: Prepare test env + working-directory: packages/integration-tests + run: | + npm ci --no-audit + npx playwright install --with-deps chromium + + - name: Run ${{ matrix.test-pattern }} + working-directory: packages/integration-tests + run: | + npx jest --verbose --testPathPattern=${{ matrix.test-pattern }}