Skip to content

feat: mature the taskflow grammar (multi-model, typed outputs, conditionals, tooling, observability) #877

feat: mature the taskflow grammar (multi-model, typed outputs, conditionals, tooling, observability)

feat: mature the taskflow grammar (multi-model, typed outputs, conditionals, tooling, observability) #877

Workflow file for this run

name: Python CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
test:
name: Run Tests ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.11', '3.14'] # the one we have in the Codespace + the latest one supported by Python 3.
fail-fast: false # Continue testing other version(s) if one fails
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Hatch
run: pip install --upgrade hatch
- name: Run static analysis
run: |
hatch fmt --linter --check
- name: Run tests
run: hatch test --python ${{ matrix.python-version }} --cover --randomize --parallel --retries 2 --retry-delay 1