1
0
Fork 0

Run Python unittests in workflow

This commit is contained in:
Joris van Rantwijk 2023-04-14 11:06:29 +02:00
parent 94db975cf0
commit a3f29f0988
1 changed files with 15 additions and 0 deletions

View File

@ -29,3 +29,18 @@ jobs:
- name: Run pylint
run: pylint --ignore=test_mwmatching.py python tests
# Run unittests on multiple Python versions.
unittest-python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run unittests
run: python3 python/test_mwmatching.py