Files
computer-playbook/.github/workflows/test-code-integration.yml
T
kevinveenbirkenbachandClaude Sonnet 4.6 0ce6b1347c refactor(annotations): move to utils/annotations, add step summary support
- Move utils/gha/annotations.py → utils/annotations/message.py
- Move scripts/gha/summarize_annotations.py → utils/annotations/summarize.py
- Keep utils/gha/annotations.py as compatibility shim
- Update all imports across codebase to utils.annotations.message
- Wire tee + summary step into test-code-lint, unit, and integration workflows
- Add unit tests for utils/annotations/summarize (20 tests)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 14:05:24 +02:00

39 lines
954 B
YAML

name: Test Infinito.Nexus Code
on:
workflow_call:
permissions:
contents: read
packages: read
jobs:
test-code-integration:
name: 🧪 Run integration tests
runs-on: ubuntu-latest
timeout-minutes: 15
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 integration tests via make
shell: bash
run: |
set -euo pipefail
make up
make test-integration 2>&1 | tee /tmp/integration-output.txt
- name: Build step summary from annotations
if: always()
working-directory: ${{ github.workspace }}
run: |
python3 -m utils.annotations.summarize /tmp/integration-output.txt "Integration Test Annotation Summary"