Skip to content

Merge pull request #127 from HWO-Yield-Visualizations/dependabot/gith… #172

Merge pull request #127 from HWO-Yield-Visualizations/dependabot/gith…

Merge pull request #127 from HWO-Yield-Visualizations/dependabot/gith… #172

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows us to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
name: Test Python ${{ matrix.python-version }} on ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
platform: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v6
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
activate-environment: true
- name: Install nox
run: uv tool install nox
- name: Test with nox
run: uvx nox -s tests --python ${{ matrix.python-version }}