coulomb-social/.forgejo/workflows/usecases.yaml
tegwick a1989f19db
Some checks failed
Use-case regression gate / usecase-regressions (push) Failing after 6m2s
Establish use-case regression collection and real browser gate
Assistant: codex
Assistant-Model: gpt-6.1-sol
Assistant-Session: 01a10e2d-a5ef-7e92-b03d-b1694e915680
2026-10-06 14:02:01 +02:00

38 lines
1.4 KiB
YAML

# Uses the fleet's ubuntu-latest container label (node:20-bookworm).
# Archive checkout follows railiance-forge's non-root-host runner guidance.
name: Use-case regression gate
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
usecase-regressions:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out the triggering revision and prepare test tools
run: |
set -eu
apt-get update
apt-get install -y --no-install-recommends python3 python3-venv make ca-certificates curl
python3 -m venv /tmp/usecase-bootstrap
/tmp/usecase-bootstrap/bin/pip install uv==0.5.9
SHORT=$(printf '%s' "$GITHUB_SHA" | cut -c1-12)
mkdir -p source
curl -fsSL "https://forgejo.coulomb.social/${GITHUB_REPOSITORY}/archive/${SHORT}.tar.gz" -o /tmp/usecase-source.tar.gz
tar -xzf /tmp/usecase-source.tar.gz -C source --strip-components=1
cd source
/tmp/usecase-bootstrap/bin/uv sync --locked --python 3.12
npm ci --prefix scripts
cd scripts
npx playwright install --with-deps chromium
- name: Run full application and established use-case gate
run: |
set -eu
export PATH="/tmp/usecase-bootstrap/bin:$PATH"
cd source
make check
echo "JUnit report: source/var/test-results/check.xml"