just testing the environment
Some checks failed
Tests / test (push) Has been cancelled

This commit is contained in:
tom.hempel
2026-05-20 07:10:08 +02:00
parent 2a11dfd0d1
commit 06fc134299
56 changed files with 1890 additions and 361 deletions

View File

@ -0,0 +1,44 @@
# Gitea Actions (act_runner). Requires a runner with label "ubuntu-latest".
# Instance: enable [actions] in app.ini; repo: Settings → Actions → enabled.
# If checkout/setup actions fail offline, set DEFAULT_ACTIONS_URL = github (or mirror actions).
name: Tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: pdo_sqlite, openssl, json
coverage: none
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: |
composer install --no-interaction
npm install
npm install --prefix website
- name: Install Playwright browser
run: npx playwright install --with-deps chromium
- name: PHPUnit
run: composer test
- name: Website unit tests (Vitest)
run: npm run test:unit --prefix website
- name: End-to-end tests (Playwright)
run: CI=true npm run test:e2e
env:
QDB_MASTER_KEY: dGVzdC1tYXN0ZXIta2V5LXRoaXQtMzJieXRzIQ==