@@ -75,26 +75,27 @@ jobs:
7575
7676 - name : Test all Python/Qt combinations
7777 uses : coactions/setup-xvfb@v1
78- run : |
79- PYTHON_VERSIONS=("3.10", "3.11")
80- QT_VERSIONS=("pyside2", "pyside6", "pyqt5", "pyqt6")
78+ with :
79+ run : |
80+ PYTHON_VERSIONS=("3.10", "3.11")
81+ QT_VERSIONS=("pyside2", "pyside6", "pyqt5", "pyqt6")
8182
82- for PY in "${PYTHON_VERSIONS[@]}"; do
83- uv venv --clear
84- uv python pin "$PY"
85- for QT in "${QT_VERSIONS[@]}"; do
83+ for PY in "${PYTHON_VERSIONS[@]}"; do
84+ uv venv --clear
85+ uv python pin "$PY"
86+ for QT in "${QT_VERSIONS[@]}"; do
8687
87- # pyside2 requires python <3.11
88- if [[ "$QT" == "pyside2" && ( "$PY" == "3.11" || "$PY" == "3.12" || "$PY" == "3.13" ) ]]; then continue; fi
89- # pyside6 and pyqt6 require python >=3.9
90- if [[ "$QT" == "pyside6" || "$QT" == "pyqt6" ]] && [[ "$PY" == "3.8" ]]; then continue; fi
88+ # pyside2 requires python <3.11
89+ if [[ "$QT" == "pyside2" && ( "$PY" == "3.11" || "$PY" == "3.12" || "$PY" == "3.13" ) ]]; then continue; fi
90+ # pyside6 and pyqt6 require python >=3.9
91+ if [[ "$QT" == "pyside6" || "$QT" == "pyqt6" ]] && [[ "$PY" == "3.8" ]]; then continue; fi
9192
92- uv sync --locked --dev
93- uv pip install "$QT"
93+ uv sync --locked --dev
94+ uv pip install "$QT"
9495
95- QT_API="$QT" uv run coverage run -m pytest --verbose tests/
96+ QT_API="$QT" uv run coverage run -m pytest --verbose tests/
97+ done
9698 done
97- done
9899
99100 # combine-coverage:
100101 # needs: tests
0 commit comments