mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
Adds cache: pip + cache-dependency-path: pyproject.toml to every setup-python step across .github/workflows/ and bumps the python-version pin on every workflow that still declared 3.11 to 3.12 so the project's declared >=3.11 range collapses to a single interpreter version in CI. Cold runs hit pyproject.toml-keyed pip cache; subsequent runs skip the full install pull and warm-restore in seconds. Highest impact on the test-deploy-* and test-code-* matrices that ran make install fresh on every PR. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
39 lines
944 B
YAML
39 lines
944 B
YAML
name: "🧪 Test: Code (Integration)"
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test-code-integration:
|
|
name: 🧪 Test integration
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
env:
|
|
INFINITO_TEST_RUNNER: host
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.12"
|
|
cache: pip
|
|
cache-dependency-path: pyproject.toml
|
|
|
|
- name: Run integration tests via make
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
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"
|