Skip to content

Commit

Permalink
chore(tests): add a check to see if we can install package
Browse files Browse the repository at this point in the history
  • Loading branch information
jeertmans committed Jul 1, 2024
1 parent 120a564 commit 52bfc4b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,29 @@ on:
name: Tests

jobs:
pip-install:
stategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
pyversion: ['3.9', '3.10', '3.11', '3.12']
extras: ['pyside6-full', 'full-gl']
exclude:
- pyversion: '3.12'
extras: 'full-gl'
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Python
uses: actions/setup-python@v5
with:
python-version: {{ matrix.pyversion }}
cache: 'pip'

- name: Install package
run: pip install '.[{{ matrix.extras }}]'
pytest:
strategy:
fail-fast: false
Expand Down

0 comments on commit 52bfc4b

Please sign in to comment.