Shallow clones were never a Gitea packing bug. An intruder had set uploadpack.packObjectsHook in Gitea's HOME gitconfig, pointing at a non-executable dropper, so every upload-pack died mid-pack. That hook is gone and --depth=1 clones are verified working, so fetch-depth: 0 buys nothing but slower CI. See INCIDENT-2026-08-11.md. op25-container/.gitea/workflows/* never ran: Gitea only executes workflows under .gitea/workflows at the repo root, and op25-container is a subdirectory of this repo, not a repo of its own. The live OP25 image build is .gitea/workflows/build-op25.yml. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
31 lines
627 B
YAML
31 lines
627 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: drb-edge-node
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: python3 -m pip install --break-system-packages -r requirements.txt pytest
|
|
|
|
- name: Run tests
|
|
run: python3 -m pytest tests -v
|
|
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Lint
|
|
run: |
|
|
python3 -m pip install --break-system-packages flake8
|
|
python3 -m flake8 drb-edge-node/app --max-line-length=120
|