Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/validation-runtime.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Validation runtime

on:
pull_request:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: read

jobs:
runtime:
name: Runtime validation / Linux Docker
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.12.13"
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
with:
version: "0.9.3"
enable-cache: true
cache-dependency-glob: tests/validation_runtime/uv.lock
- name: Install locked runtime
run: uv sync --project tests/validation_runtime --frozen
- name: Fast and real protocol tests
run: |
uv run --project tests/validation_runtime --frozen python scripts/validation/reproduce.py --suite fast --require-complete
uv run --project tests/validation_runtime --frozen python scripts/validation/reproduce.py --suite protocol --require-complete
- name: Exact-wheel Docker acceptance
run: uv run --project tests/validation_runtime --frozen python scripts/validation/reproduce.py --suite docker --require-complete
- name: Verify evidence inventory
run: |
for bundle in outputs/validation-runtime/*; do
python scripts/validation/verify_artifacts.py "$bundle"
done
- name: Retain evidence on success or failure
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: validation-runtime-${{ github.event.pull_request.head.sha || github.sha }}
path: outputs/validation-runtime/
if-no-files-found: warn
retention-days: 14
Loading
Loading