2026-02-01 21:56:20 -06:00
|
|
|
on: [workflow_dispatch]
|
2025-12-01 22:10:28 -06:00
|
|
|
jobs:
|
2025-12-01 22:19:53 -06:00
|
|
|
integration-test--firefox:
|
2026-06-17 10:46:36 -05:00
|
|
|
runs-on: docker
|
|
|
|
|
container:
|
|
|
|
|
image: rust:trixie
|
2025-12-01 22:10:28 -06:00
|
|
|
steps:
|
2026-06-17 10:46:36 -05:00
|
|
|
- uses: actions/checkout@v6
|
2026-06-22 15:28:21 -05:00
|
|
|
|
|
|
|
|
- run: apt-get update && apt-get install -y sqlite3 nodejs
|
|
|
|
|
- run: ./Taskfile _cargo build --release
|
|
|
|
|
- run: echo test | ./target/release/mascarpone set-password test
|
|
|
|
|
- run: ./target/release/mascarpone set-ephemeral test true
|
|
|
|
|
|
|
|
|
|
- run: curl https://mise.run | MISE_INSTALL_PATH=/usr/local/bin/mise sh
|
|
|
|
|
- run: mise install node pnpm
|
|
|
|
|
- run: mise exec node pnpm -C e2e -- pnpm install
|
|
|
|
|
- run: mise exec node pnpm -C e2e -- npx playwright install --with-deps firefox
|
|
|
|
|
- run: |
|
|
|
|
|
./target/release/mascarpone serve &
|
|
|
|
|
bash ./e2e/wait-for-it.bash 127.0.0.1:3000 --timeout=2
|
|
|
|
|
mise exec node pnpm -C e2e -- env PROJECT_FILTER=firefox npx playwright test
|
|
|
|
|
- uses: actions/upload-artifact@v7
|
2025-12-01 22:44:54 -06:00
|
|
|
with:
|
2026-06-22 15:28:21 -05:00
|
|
|
name: playwright-results
|
|
|
|
|
path: |
|
|
|
|
|
e2e/playwright-report
|
|
|
|
|
e2e/test-results
|
|
|
|
|
- uses: actions/upload-artifact@v7
|
2025-12-01 22:43:16 -06:00
|
|
|
with:
|
2026-06-22 15:28:21 -05:00
|
|
|
name: release
|
|
|
|
|
path: |
|
|
|
|
|
e2e/playwright-report
|
|
|
|
|
e2e/test-results
|
|
|
|
|
|
|
|
|
|
|