Skip to content

[FEAT]: Canonical versioned trace/result serializer (WS0-05 PR 1) #20

[FEAT]: Canonical versioned trace/result serializer (WS0-05 PR 1)

[FEAT]: Canonical versioned trace/result serializer (WS0-05 PR 1) #20

Workflow file for this run

name: Scripts
on:
push:
branches: [main]
paths:
- "scripts/**"
- "tests/scripts/**"
- ".github/workflows/scripts.yml"
pull_request:
branches: [main]
paths:
- "scripts/**"
- "tests/scripts/**"
- ".github/workflows/scripts.yml"
concurrency:
group: scripts-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
test:
name: Test scripts
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.12"
- name: Set up uv
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with:
enable-cache: true
- name: Install dependencies
run: uv sync --all-extras --frozen
- name: Run script tests
run: uv run pytest tests/scripts