# 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. # Jobs run in the runner's default node:22-bookworm container (actions/checkout # needs node), so Python comes from Debian; the image job mirrors qr's (buildx, # push: false) — that shape is proven on both runners. name: CI on: push: pull_request: jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Python + deps run: | apt-get update -qq && apt-get install -y -qq python3 python3-pip > /dev/null pip3 install -q --break-system-packages -r requirements.txt - run: cd app && python3 -m unittest -v image: runs-on: ubuntu-latest needs: test steps: - uses: actions/checkout@v4 - uses: docker/setup-buildx-action@v3 - name: Build image (verification only) uses: docker/build-push-action@v6 with: context: . push: false tags: 13ft:ci