Files
nextcloud/.github/workflows/playwright-on-workflow-dispatch.yml
T
Pablo Zmdl 29b4bad3ff Run playwright tests via compose setup
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
2026-06-03 16:18:54 +02:00

34 lines
842 B
YAML

name: Playwright Tests
on:
workflow_dispatch:
env:
BASE_URL: https://localhost:8080
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run Playwright tests for initial setup
env:
TEST_CODE_FROM_IMAGE: yes
run: ./run.sh ./tests/initial-setup.spec.js
- name: Run Playwright tests for backup restore
env:
TEST_CODE_FROM_IMAGE: yes
run: ./php/tests/run.sh ./tests/restore-instance.spec.js
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ !cancelled() }}
with:
name: playwright-report
path: php/tests/playwright-report/
retention-days: 14
overwrite: true