1
0
Fork 0
mirror of https://github.com/topydo/topydo.git synced 2024-05-20 13:58:33 +00:00
topydo/.github/workflows/test.yml
David Steele 6bd9703755 Remove python 3.12 alpha from CI tests
There is an error, only for this test, complaining of a missing libxml2
and libxlst (because Cython is missing?). It is still early in the 3.12
release process.
2022-12-06 15:03:29 -05:00

34 lines
815 B
YAML

name: Pytests
on: [push, pull_request]
jobs:
test:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- name: Check out
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install .[columns]
pip install .[ical]
pip install .[prompt]
pip install .[test]
pip install pylint
pip install codecov
pip install -U isort
pip install pytest
- name: Run pytests
run: |
python -m pytest