Skip to content

Switch tooling to uv, ruff, and just #27

Switch tooling to uv, ruff, and just

Switch tooling to uv, ruff, and just #27

Workflow file for this run

name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ 3.8, 3.9, 3.11, 3.12 ]
steps:
- uses: actions/checkout@v2
- uses: astral-sh/setup-uv@v3
- run: uv run -p ${{ matrix.python-version}} black pyfu_usb/ tests/
- run: uv run -p ${{ matrix.python-version}} mypy pyfu_usb/ tests/
- run: uv run -p ${{ matrix.python-version}} pylint pyfu_usb/ tests/
- run: uv run -p ${{ matrix.python-version}} isort pyfu_usb/ tests/
- run: uv run -p ${{ matrix.python-version}} pytest tests/
- run: uv build -p ${{ matrix.python-version }}