mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
# Conflicts: # .github/workflows/cleanup-stale.yml # .github/workflows/delete-branch.yml # .github/workflows/entry-pull-request-cancel.yml # .github/workflows/entry-pull-request-change.yml # .github/workflows/entry-push-latest.yml # .github/workflows/images-build-ci.yml # .github/workflows/images-mirror-all.yml # .github/workflows/images-mirror-cleanup.yml # .github/workflows/images-mirror-missing.yml # .github/workflows/lint-ansible.yml # .github/workflows/lint-docker.yml # .github/workflows/lint-javascript.yml # .github/workflows/lint-makefile.yml # .github/workflows/lint-markdown.yml # .github/workflows/lint-packages.yml # .github/workflows/lint-playwright.yml # .github/workflows/lint-python.yml # .github/workflows/lint-shell.yml # .github/workflows/release-highest.yml # .github/workflows/release-version.yml # .github/workflows/security-codeql.yml # .github/workflows/security-scorecard.yml # .github/workflows/test-code-external.yml # .github/workflows/test-code-integration.yml # .github/workflows/test-code-lint.yml # .github/workflows/test-code-unit.yml # .github/workflows/test-deploy-local.yml # .github/workflows/test-deploy-universal.yml # .github/workflows/test-deploy-workstation.yml # .github/workflows/test-dns.yml # .github/workflows/test-environment.yml # .github/workflows/test-install-make.yml # .github/workflows/test-install-pkgmgr.yml # .github/workflows/update.yml
40 lines
969 B
YAML
40 lines
969 B
YAML
name: "🧪 Test: Code (External)"
|
|
|
|
on:
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test-code-external:
|
|
name: 🧪 Test external
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
env:
|
|
INFINITO_TEST_RUNNER: host
|
|
|
|
steps:
|
|
- name: ⬇️ Checkout repository
|
|
uses: actions/checkout@v7.0.0
|
|
|
|
- name: 🔧 Set up Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.12"
|
|
cache: pip
|
|
cache-dependency-path: pyproject.toml
|
|
|
|
- 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"
|