Skip to content

Migrate to uv

Migrate to uv #87

Workflow file for this run

name: Test
on:
push:
branches:
- main
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
name: Python ${{ matrix.python-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install dependencies
run: uv sync
- name: Lint project
run: |
pre-commit run --all-files --color always
safety check --continue-on-error --full-report
- name: Test package
run: |
coverage run
coverage report
coverage xml
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
files: reports/coverage.xml