Skip to content

Commit

Permalink
use v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed May 6, 2024
1 parent 9b9f81b commit ce1cf57
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ on:
jobs:
test:
name: Test
uses: pyapp-kit/workflows/.github/workflows/test-pyrepo.yml@v1
uses: pyapp-kit/workflows/.github/workflows/test-pyrepo.yml@v2
with:
os: ${{ matrix.platform }}
python-version: ${{ matrix.python-version }}
qt: ${{ matrix.backend }}
pip-install-flags: -e
pip-install-pre-release: ${{ github.event_name == 'schedule' }}
report-failures: ${{ github.event_name == 'schedule' }}
coverage-upload: artifact
strategy:
fail-fast: false
Expand All @@ -38,7 +36,6 @@ jobs:
# lack of wheels for pyside2/py3.11
- python-version: "3.11"
backend: pyside2

include:
# https://bugreports.qt.io/browse/PYSIDE-2627
- python-version: "3.10"
Expand All @@ -53,11 +50,9 @@ jobs:
- python-version: "3.11"
platform: windows-latest
backend: "'pyside6!=6.6.2'"

- python-version: "3.12"
platform: macos-latest
backend: "'PyQt6<6.6'"

# legacy Qt
- python-version: 3.8
platform: ubuntu-latest
Expand All @@ -70,7 +65,7 @@ jobs:
backend: "pyqt5==5.14.*"

test-qt-minreqs:
uses: pyapp-kit/workflows/.github/workflows/test-pyrepo.yml@v1
uses: pyapp-kit/workflows/.github/workflows/test-pyrepo.yml@v2
with:
python-version: "3.8"
qt: pyqt5
Expand All @@ -79,13 +74,13 @@ jobs:
coverage-upload: artifact

upload_coverage:
needs: [test, test-qt-minreqs]
if: always()
uses: pyapp-kit/workflows/.github/workflows/upload-coverage.yml@main
needs: [test, test-qt-minreqs]
uses: pyapp-kit/workflows/.github/workflows/upload-coverage.yml@v2
secrets: inherit

test_napari:
uses: pyapp-kit/workflows/.github/workflows/test-dependents.yml@v1
uses: pyapp-kit/workflows/.github/workflows/test-dependents.yml@v2
with:
dependency-repo: napari/napari
dependency-ref: ${{ matrix.napari-version }}
Expand Down

0 comments on commit ce1cf57

Please sign in to comment.