Skip to content

Add lint and test ci #1

Add lint and test ci

Add lint and test ci #1

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
name: lint ${{ matrix.python-version }}
strategy:
matrix:
python-version: [ '3.10', '3.11', '3.12' ]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Setup pdm
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pdm install -G test
- name: Run test
run: pdm run -v pytest