ci: replace upstream's GHCR release workflow with a Gitea CI (tests + image build)
CI / image (push) Failing after 5s
CI / test (push) Failing after 6s

Upstream's build.yaml pushes to ghcr.io and has failed on every push since the
fork — those reds were never ours. Gitea now runs the 17 tests and a docker
build with no push.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014LCQmFvKshyAJsE8C3B5ET
This commit is contained in:
2026-10-19 03:06:55 -05:00
co-authored by Claude Fable 5.1
parent 83f4d0d232
commit 82f0a1247c
2 changed files with 19 additions and 79 deletions
+19
View File
@@ -0,0 +1,19 @@
# Gitea CI for the OTM fork: the unit + Flask tests, then prove the image builds.
# Upstream's .github/workflows/build.yaml pushed to GHCR and could never pass here.
name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
container: python:3.13-slim
steps:
- uses: actions/checkout@v4
- run: pip install -q -r requirements.txt
- run: cd app && python -m unittest -v
image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker build -t 13ft-ci:${{ gitea.sha }} .