chore: Add some tests
Some checks failed
Label PRs based on size / Check PR size (pull_request) Successful in 10s
CI / Get Changed Files (pull_request) Successful in 8s
Pull Request Labeler / labeler (pull_request_target) Successful in 7s
CI / eslint (pull_request) Successful in 32s
CI / Docker frontend validation (pull_request) Successful in 31s
CI / Playwright (pull_request) Failing after 39s
CI / oxlint (pull_request) Successful in 42s
CI / prettier (pull_request) Successful in 43s
CI / Docker backend validation (pull_request) Successful in 21s
CI / Checkstyle Main (pull_request) Successful in 1m16s
Claude PR Review / claude-code (pull_request) Successful in 1m27s
CI / test-build (pull_request) Successful in 51s
CI / Backend Tests (pull_request) Successful in 1m52s

This commit is contained in:
Jan K9f 2025-06-04 11:24:49 +02:00
commit 62999d749d
6 changed files with 94 additions and 2 deletions

View file

@ -165,6 +165,33 @@ jobs:
cd frontend
bun run lint
playwright:
runs-on: docker
name: Playwright
needs: changed_files
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
container:
image: git.kjan.de/actions/runner-bun:latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- uses: actions/cache@v4
working-directory: ./frontend
with:
path: |
frontend/node_modules/
key: ${{ runner.os }}-bun-
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: |
cd frontend
bun install
- name: Install Playwright Browsers
run: bunx playwright install --with-deps
- name: Run Playwright tests
run: bunx playwright test
oxlint:
runs-on: docker
name: oxlint