Skip to content

Commit

Permalink
test: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Nov 28, 2023
1 parent bb96fe7 commit 327c9e4
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/integration-tests-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ jobs:
contents: read
pull-requests: write
checks: write
# defaults:
# run:
# working-directory: ./packages/integration-tests
strategy:
matrix:
node-version: ['lts/*']
Expand Down Expand Up @@ -42,10 +39,6 @@ jobs:
npm ci --no-audit
npx playwright install --with-deps chromium
# - name: Spin up the BE frontend
# run: |
# npm run --prefix repos/zksync-dapp-scan-v2 dev &

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -54,21 +47,17 @@ jobs:

- name: Start docker containers
run: |
ls
docker-compose -f "docker-compose.yaml" up -d
docker-compose -f "docker-compose.yaml" up -d --build
- name: List running containers
run: docker ps

- name: API tests run (parallel)
run: |
cd packages/integration-tests
ls
pwd
npx jest --verbose --testPathPattern=${{ matrix.test-pattern }}
- name: Stop containers
if: always()
run: |
ls
docker-compose -f "docker-compose.yaml" down

0 comments on commit 327c9e4

Please sign in to comment.