Skip to content

Use uv for everything #2945

Use uv for everything

Use uv for everything #2945

Workflow file for this run

name: Full test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v2
with:
version: 0.6.2
src: mikeio
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --group test
- name: Lint
run: make lint
- name: Type check
run: make typecheck
- name: Test
run: make test
- name: Build package
run: make build
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.python-version }}
path: dist/*