mirror of
https://github.com/s-frick/effigenix.git
synced 2026-03-28 12:09:35 +01:00
ok ok
This commit is contained in:
parent
061c2b4f8d
commit
5bc316ff31
6 changed files with 289 additions and 11 deletions
50
.github/workflows/e2e.yml
vendored
Normal file
50
.github/workflows/e2e.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue