Implement role-based account journeys with database and browser acceptance suites
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a092fe-13b1-7f12-ac74-7d258af4d79c
This commit is contained in:
parent
75750c0036
commit
1127f852dd
24 changed files with 1554 additions and 148 deletions
20
.forgejo/workflows/journeys.yaml
Normal file
20
.forgejo/workflows/journeys.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: Account journey acceptance
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths: ["src/**", "tests/**", "scripts/run_journey_suites.py", "Makefile", ".forgejo/workflows/journeys.yaml"]
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
journeys:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Test the exact commit
|
||||
run: |
|
||||
set -eu
|
||||
mkdir -p journey-source
|
||||
curl -fsSL "https://forgejo.coulomb.social/${GITHUB_REPOSITORY}/archive/${GITHUB_SHA}.tar.gz" -o journey-source.tar.gz
|
||||
tar xzf journey-source.tar.gz -C journey-source --strip-components=1
|
||||
cd journey-source
|
||||
PYTHONDONTWRITEBYTECODE=1 make test
|
||||
PYTHONDONTWRITEBYTECODE=1 make test-journeys JOURNEY_ARGS="--report journey-report.json"
|
||||
cat journey-report.json
|
||||
Loading…
Add table
Add a link
Reference in a new issue