Files
computer-playbook/.github/workflows/test-code-external.yml
T
Environment Test 212cc39052 test(external): split live registry checks
Keep live registry lookups out of the default make test flow.

Add a dedicated external suite, workflow, and docs so the check stays opt-in but still gates code CI when enabled.
2026-04-10 22:31:42 +02:00

40 lines
958 B
YAML

name: "🧪 Test: Code (External)"
on:
workflow_call:
workflow_dispatch:
permissions:
contents: read
packages: read
jobs:
test-code-external:
name: 🧪 Run external tests
runs-on: ubuntu-latest
timeout-minutes: 30
env:
NIX_CONFIG: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
INFINITO_IMAGE_TAG: ci-${{ github.sha }}
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Show Docker version
run: docker version
- name: Run external tests via make
shell: bash
run: |
set -euo pipefail
make up
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"