Skip to content

fix: fixes interactive function inspection and cleans dependencies #18

fix: fixes interactive function inspection and cleans dependencies

fix: fixes interactive function inspection and cleans dependencies #18

Workflow file for this run

name: Lint and test
on:
pull_request:
branches: [ main ]
permissions:
contents: write
jobs:
check-lint:
name: Lint check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
with:
python-version: 3.11
cache: true
- run: pdm sync -G dev --no-default
- run: pdm run lint
pr-tests:
name: PR tests
runs-on: ${{ matrix.os }}
needs: check-lint
strategy:
matrix:
python-version: ['3.11', '3.12']
os: [ ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
cache: true
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pdm sync -G test
- name: Run tests
run: pdm run -v test