add cython to the matrix
@@ -12,6 +12,7 @@ jobs:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
+ cython: [true, false]
steps:
- uses: actions/checkout@v2.3.4
@@ -23,13 +24,17 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flit
+ - name: Install cython
+ if: matrix.cython
+ run: |
+ pip install cython
- name: Install package
env:
FLIT_ALLOW_INVALID: "1"
run: |
flit install --deps=develop
- name: Lint with flake8
- if: matrix.os != 'windows-latest'
+ if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == 3.6 && matrix.cython }}
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names:
