user-engine/.forgejo/workflows/journeys.yaml
tegwick ac8b04edc7
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Account journey acceptance / journeys (push) Successful in 1m5s
Install runtime and test dependencies in exact-source journey CI
Assistant: codex
Assistant-Model: gpt-6.1-sol
Assistant-Session: 01a126e1-76f8-7643-8cf3-e93336539ade
2026-10-11 02:16:02 +02:00

24 lines
1.2 KiB
YAML

name: Account journey acceptance
on:
push:
branches: [main]
paths: ["src/**", "tests/**", "scripts/run_journey_suites.py", "scripts/check_layer_conformance.py", "pyproject.toml", "Containerfile", "Makefile", ".forgejo/workflows/journeys.yaml"]
workflow_dispatch:
jobs:
journeys:
runs-on: ubuntu-latest
container:
image: python:3.12-slim@sha256:a6e34c598f2467ed0e9a8d349809fcd8b5c603269512df273a0bb1784edc11b1
steps:
- name: Test the exact commit
run: |
set -eu
mkdir -p journey-source
python -c 'import os, urllib.request; urllib.request.urlretrieve("https://forgejo.coulomb.social/" + os.environ["GITHUB_REPOSITORY"] + "/archive/" + os.environ["GITHUB_SHA"] + ".tar.gz", "journey-source.tar.gz")'
tar xzf journey-source.tar.gz -C journey-source --strip-components=1
cd journey-source
python -m pip install --no-cache-dir ".[runtime]" "pytest==8.4.2"
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python -m pytest -q
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src python scripts/check_layer_conformance.py --report
PYTHONDONTWRITEBYTECODE=1 python scripts/run_journey_suites.py --report journey-report.json
cat journey-report.json