Skip to content

fix install packages #1

fix install packages

fix install packages #1

Workflow file for this run

name: lint
on:
pull_request:
branches:
- '*'
# make workflow "callable" by others
workflow_call:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup Python v3.10 with uv
uses: astral-sh/setup-uv@v6
with:
python-version: '3.10'
- name: install packages
run: uv pip install -r pyproject.toml --extra testing --system
- name: lint using ruff
run: ruff check --output-format github ./src ./tests
- name: format check using ruff
run: ruff format --check ./src ./tests
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup Python v3.10 with uv
uses: astral-sh/setup-uv@v6
with:
python-version: '3.10'
- name: install packages
run: uv pip install -r pyproject.toml --extra testing --system
- name: run pytest
run: python -m pytest tests