mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
- 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>
39 lines
954 B
YAML
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"
|