Skip to content

Merge pull request #367 from oriontvv/migrate-to-uv #234

Merge pull request #367 from oriontvv/migrate-to-uv

Merge pull request #367 from oriontvv/migrate-to-uv #234

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: ci
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v3
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.5.13"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
make init
- name: Linters
run: |
make lint
- name: Test and coverage
run: |
make test
make coverage-report
- name: Coveralls
uses: oriontvv/coveralls-python-action@patch-pyprject-toml
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.python-version }}
parallel: true
coveralls_finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: oriontvv/coveralls-python-action@patch-pyprject-toml
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true