Skip to content

refactored pyproject poe tasks to track with update testing and relea… #3

refactored pyproject poe tasks to track with update testing and relea…

refactored pyproject poe tasks to track with update testing and relea… #3

Workflow file for this run

name: Test On All Platforms
on:
push:
branches:
- "**" # All branches
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # e.g. v1.2.3
workflow_dispatch:
jobs:
test:
name: Test ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- name: Install uv and set Python version.
uses: astral-sh/setup-uv@v5
with:
version: "0.7.5"
python-version: ${{ matrix.python-version }}
- name: Install libusb on Linux.
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libusb-1.0-0-dev libudev-dev
- name: Run tests with extras installed.
run: |
uv run --all-extras pytest