mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
The four test-code workflows (lint/unit/integration/external) now run unittest discover directly on the GitHub-hosted runner via INFINITO_TEST_RUNNER=host, bypassing the docker compose container. A fresh Python 3.11 from actions/setup-python feeds make install, which builds the venv on the runner — no `make up`, no docker image pull, no `INFINITO_IMAGE_TAG` / `NIX_CONFIG` plumbing. The orchestrator reverses the dependency direction: build-ci-images now needs test-code-gate so a broken commit never produces images. Tests start in parallel with fork-prereqs-ready instead of waiting for the build chain. Galaxy lint workflow stays dropped alongside the earlier galaxy-importer removal. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
38 lines
877 B
YAML
38 lines
877 B
YAML
name: "🧪 Test: Code (External)"
|
|
|
|
on:
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test-code-external:
|
|
name: 🧪 Run external tests
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
env:
|
|
INFINITO_TEST_RUNNER: host
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Run external tests via make
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
make test-external 2>&1 | tee /tmp/external-output.txt
|
|
|
|
- name: Build step summary from annotations
|
|
if: always()
|
|
working-directory: ${{ github.workspace }}
|
|
run: |
|
|
python3 -m utils.annotations.summarize /tmp/external-output.txt "External Test Annotation Summary"
|