Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating python versions on CI #92

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions .github/workflows/test_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest]
python: ["3.9", "3.10"]
python: ["3.10", "3.11"]
backend: [pyqt5]
include:
- python: 3.9
- python: 3.11
platform: windows-latest
backend: pyqt5
- python: 3.9
backend: pyside2
- python: 3.11
platform: macos-latest
backend: pyside2
- python: 3.9
- python: 3.11
platform: ubuntu-latest
backend: pyqt6
- python: 3.9
- python: 3.11
platform: ubuntu-latest
backend: pyside2
- python: 3.9 # only this run execute coverage
- python: 3.11 # only this run execute coverage
platform: ubuntu-latest
backend: pyside6
coverage: true
Expand All @@ -42,7 +42,16 @@ jobs:

- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python }} 64-bit for Windows
if: runner.os == 'Windows'
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: 'x64'
cache: 'pip'

- name: Set up Python ${{ matrix.python }}
if: runner.os != 'Windows'
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
Expand All @@ -56,7 +65,6 @@ jobs:
run: |
git clone --depth 1 https://github.com/pyvista/gl-ci-helpers.git
powershell gl-ci-helpers/appveyor/install_opengl.ps1
if (Test-Path -Path "C:\Windows\system32\opengl32.dll" -PathType Leaf) {Exit 0} else {Exit 1}

# tox and tox-gh-actions will take care of the "actual" installation
# of python dependendencies into a virtualenv. see tox.ini for more
Expand Down
Loading