Skip to content

[pre-commit.ci] pre-commit autoupdate (#72) #226

[pre-commit.ci] pre-commit autoupdate (#72)

[pre-commit.ci] pre-commit autoupdate (#72) #226

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python: ["3.10", "3.11"]
qt-lib: ["pyqt5", "pyqt6", "pyside2", "pyside6"]
os: [ubuntu-latest, windows-latest]
include:
- python: "3.10"
tox-env: "py310"
- python: "3.11"
tox-env: "py311"
exclude:
- python: "3.11"
qt-lib: "pyside2"
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install mesa
if: runner.os == 'Linux'
run: |
sudo apt-get update -y
sudo apt-get install -y libgles2-mesa-dev
shell: bash
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test
run: |
tox -e ${{ matrix.tox-env }}-${{ matrix.qt-lib }} -- -ra --color=yes