1
0
Fork 0
mirror of https://github.com/s-frick/effigenix.git synced 2026-03-28 12:09:35 +01:00
This commit is contained in:
Janosch 2026-03-27 17:52:56 +01:00
parent 061c2b4f8d
commit 5bc316ff31
6 changed files with 289 additions and 11 deletions

50
.github/workflows/e2e.yml vendored Normal file
View file

@ -0,0 +1,50 @@
name: E2E Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
e2e:
name: Playwright API E2E
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Run E2E Tests
run: |
docker compose -f test-automation/docker-compose.e2e.yml up \
--build \
--abort-on-container-exit \
--exit-code-from e2e-runner
- name: Upload JUnit Report
uses: actions/upload-artifact@v4
if: always()
with:
name: e2e-junit-report
path: test-automation/e2e-results/junit.xml
retention-days: 30
- name: Upload Playwright HTML Report
uses: actions/upload-artifact@v4
if: always()
with:
name: e2e-html-report
path: test-automation/e2e-results/
retention-days: 7
- name: Cleanup
if: always()
run: docker compose -f test-automation/docker-compose.e2e.yml down --volumes --remove-orphans