Fix mixed use of tabs and spaces in pyproject.toml
(#14)
#37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 build -p ${{ matrix.python-version }} | |
- run: uv run -p ${{ matrix.python-version }} mypy pyfu_usb/ tests/ | |
- run: uv run -p ${{ matrix.python-version }} ruff format --check | |
- run: uv run -p ${{ matrix.python-version }} ruff check | |
- run: uv run -p ${{ matrix.python-version }} pytest tests/ |