Skip to content

add examples smoke tests #1

add examples smoke tests

add examples smoke tests #1

Workflow file for this run

name: Run Examples
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *'
push: # to remove
env:
FORCE_COLOR: "1"
jobs:
run-examples:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest-8-cores, macos-latest, windows-latest-8-cores]
pyv: ['3.9', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.pyv }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.pyv }}
cache: 'pip'
- name: Upgrade nox and uv
run: |
python -m pip install --upgrade 'nox[uv]'
nox --version
uv --version
- name: Run benchmarks
run: nox -s examples