diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index e0757ca..5506b8d 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -52,6 +52,10 @@ jobs: working-directory: ./cinny run: npm ci --prefer-offline + # Electron needs system libraries the runner image does not ship. + - name: Install system libraries for Electron + run: npx playwright install-deps + # The runner image has no xvfb and no fresh apt lists. - name: Ensure a display for Electron run: command -v xvfb-run >/dev/null || (sudo apt-get update && sudo apt-get install -y xvfb) @@ -59,9 +63,10 @@ jobs: - name: Run login E2E run: xvfb-run -a npm run test:e2e + # Gitea implements the v3 artifact protocol; v4 rejects it as GHES. - name: Upload test artifacts if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: e2e-artifacts path: |