support universal pathlib #55
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: continuous-integration | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- '3.10' | |
- '3.12' | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v4 | |
- name: Install uv and set the python version | |
uses: astral-sh/setup-uv@v4 | |
with: | |
version: "0.5.4" | |
python-version: ${{ matrix.python-version }} | |
- name: Install extras | |
run: uv sync --group extras | |
- name: Linting check | |
run: uv run ruff check | |
- name: Formatting check | |
run: uv run ruff format --check | |
- name: Type checking | |
run: uv run pyright | |
- name: Unit tests | |
run: uv run pytest |