Skip to content

chore: use pdm for dependency management #215

chore: use pdm for dependency management

chore: use pdm for dependency management #215

Workflow file for this run

name: Checks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
format:
name: Format and Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
version: "0.6.8"
args: 'format --check'
- uses: chartboost/ruff-action@v1
with:
version: "0.6.8"
test:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: true
- name: Install dependencies
run: pdm install -G :all
- name: Run pytest
run: pdm run pytest