21 lines
774 B
YAML
21 lines
774 B
YAML
|
|
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
|