Python 3.11 trial with cython 3.04 #10
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: Installation test | |
on: | |
push: | |
paths: | |
- 'requirements.txt' | |
- 'pytest.ini' | |
- '.github/workflows/installation-test.yml' | |
# This allows a subsequently queued workflow run to interrupt previous runs | |
concurrency: | |
group: e2e-'${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
python-install: | |
strategy: | |
matrix: | |
os: ["ubuntu-20.04", "ubuntu-22.04"] | |
python-ver: ["3.7", "3.8", "3.9", "3.10", "3.11"] | |
exclude: | |
- os: ubuntu-22.04 | |
python-ver: 3.6 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Install Python ${{ matrix.python-ver}} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-ver}} | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
- name: Installation steps on ${{ matrix.os }} w ${{ matrix.python-ver}} | |
run: | | |
pip install --upgrade pip | |
pip install --upgrade cython | |
pip install -U -r requirements.txt | |
- name: Run collect only | |
run: pytest --collect-only |