1
0
Fork 0

Add github workflow

This commit is contained in:
Maurizio Porrato 2023-08-18 18:41:54 +01:00
parent e232be258f
commit f0c9dde159
1 changed files with 24 additions and 0 deletions

24
.github/workflows/tox.yaml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Run tox
on:
- push
- pull_request
jobs:
tox:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up PDM
uses: pdm-project/setup-pdm@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pdm install -d -G test -G lint
- name: Test with tox
run: pdm run tox