Skip to content

delint

delint #356

Workflow file for this run

name: Lint and test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
ci:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
cache: false
prerelease: true
- name: Ensure lock file is up to date
run: |
pdm lock --check
- name: Install dependencies
run: |
pdm sync -dG dev
- name: Run Lint
run: |
pdm run lint
- name: Run Tests
run: |
pdm run test