Fix imports that fail under Cython 3.0 in language_level=3 mode #74
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.6, 3.7, 3.8, 3.9, 3.11] | |
# For the OS, ubuntu-latest is not compatible with Python 3.6 anymore, | |
# so we can use ubuntu-20.04 that is compatible with 3.6 and 3.11 | |
# see: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | |
os: [ubuntu-20.04, windows-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dev-package | |
run: | | |
python -m pip install --upgrade pip | |
pip install -v -e . | |
- name: Run tests | |
run: | | |
pip install pytest | |
pip install pandas | |
pytest -ra --capture=no --showlocals |