From bf83708067efce928ec9fb830111d871933bc836 Mon Sep 17 00:00:00 2001 From: Stavros Date: Thu, 16 Jul 2026 19:17:00 +0300 Subject: [PATCH] chore: try to omit playwright --- .github/workflows/e2e.yml | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 5ec76358..7e4f5e05 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -30,23 +30,30 @@ jobs: SOCK: ${{ steps.docker.outputs.sock }} run: echo "DOCKER_SOCK=${SOCK#unix://}" >> "$GITHUB_ENV" - - name: Install dependencies - run: pnpm ci + - name: Spin up docker-compose + run: docker compose -f docker-compose.e2e.yml up --build --force-recreate --remove-orphans -d working-directory: e2e - - name: Install Playwright Browsers - run: pnpm exec playwright install --with-deps - working-directory: e2e + - name: Check if the url is accessible + run: sleep 20s && curl -v http://tinyauth.127.0.0.1.sslip.io - - name: Run Playwright tests - run: pnpm test - working-directory: e2e - env: - DOCKER_SOCKET_PATH: ${{ steps.docker-socket.outputs.DOCKER_SOCK }} +# - name: Install dependencies +# run: pnpm ci +# working-directory: e2e +# +# - name: Install Playwright Browsers +# run: pnpm exec playwright install --with-deps +# working-directory: e2e - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4 - if: ${{ !cancelled() }} - with: - name: playwright-report - path: e2e/playwright-report/ - retention-days: 5 +# - name: Run Playwright tests +# run: pnpm test +# working-directory: e2e +# env: +# DOCKER_SOCKET_PATH: ${{ steps.docker-socket.outputs.DOCKER_SOCK }} +# +# - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4 +# if: ${{ !cancelled() }} +# with: +# name: playwright-report +# path: e2e/playwright-report/ +# retention-days: 5