mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-07-17 15:31:13 +00:00
chore: try to omit playwright
This commit is contained in:
+23
-16
@@ -30,23 +30,30 @@ jobs:
|
|||||||
SOCK: ${{ steps.docker.outputs.sock }}
|
SOCK: ${{ steps.docker.outputs.sock }}
|
||||||
run: echo "DOCKER_SOCK=${SOCK#unix://}" >> "$GITHUB_ENV"
|
run: echo "DOCKER_SOCK=${SOCK#unix://}" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Spin up docker-compose
|
||||||
run: pnpm ci
|
run: docker compose -f docker-compose.e2e.yml up --build --force-recreate --remove-orphans -d
|
||||||
working-directory: e2e
|
working-directory: e2e
|
||||||
|
|
||||||
- name: Install Playwright Browsers
|
- name: Check if the url is accessible
|
||||||
run: pnpm exec playwright install --with-deps
|
run: sleep 20s && curl -v http://tinyauth.127.0.0.1.sslip.io
|
||||||
working-directory: e2e
|
|
||||||
|
|
||||||
- name: Run Playwright tests
|
# - name: Install dependencies
|
||||||
run: pnpm test
|
# run: pnpm ci
|
||||||
working-directory: e2e
|
# working-directory: e2e
|
||||||
env:
|
#
|
||||||
DOCKER_SOCKET_PATH: ${{ steps.docker-socket.outputs.DOCKER_SOCK }}
|
# - name: Install Playwright Browsers
|
||||||
|
# run: pnpm exec playwright install --with-deps
|
||||||
|
# working-directory: e2e
|
||||||
|
|
||||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4
|
# - name: Run Playwright tests
|
||||||
if: ${{ !cancelled() }}
|
# run: pnpm test
|
||||||
with:
|
# working-directory: e2e
|
||||||
name: playwright-report
|
# env:
|
||||||
path: e2e/playwright-report/
|
# DOCKER_SOCKET_PATH: ${{ steps.docker-socket.outputs.DOCKER_SOCK }}
|
||||||
retention-days: 5
|
#
|
||||||
|
# - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4
|
||||||
|
# if: ${{ !cancelled() }}
|
||||||
|
# with:
|
||||||
|
# name: playwright-report
|
||||||
|
# path: e2e/playwright-report/
|
||||||
|
# retention-days: 5
|
||||||
|
|||||||
Reference in New Issue
Block a user