Skip to content

simple pyproject.toml with uv #443

simple pyproject.toml with uv

simple pyproject.toml with uv #443

Workflow file for this run

name: tests
on:
push:
paths-ignore:
- "docs/**"
- "*.md"
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
fail-fast: false
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Version info
run: |
uv run python main.py --version
- name: Test with pytest
run: |
uv run python -m pytest tests
- name: Check with MyPy
run: |
uv run mypy .