mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-10 00:27:01 +00:00
29b4bad3ff
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
34 lines
842 B
YAML
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 |