Skip to content

Commit 80fad54

Browse files
committed
Remove conflict tests
1 parent b5bb737 commit 80fad54

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ defaults:
1212
shell: bash
1313

1414
env:
15+
# Some (Poetry) logs will be corrupted on Windows of GitHub actions.
16+
# Changing the encoding to utf-8 fixes this problem.
1517
PYTHONIOENCODING: 'utf-8' # For log color
1618

1719
# This enable log color of pytest.
@@ -25,23 +27,26 @@ jobs:
2527
fail-fast: false
2628
matrix:
2729
os: [ubuntu-latest, macOS-latest, windows-latest]
28-
py: ['3.7', '3.8', '3.9', '3.10']
30+
py: ['3.7', '3.8', '3.9', '3.10', '3.11']
2931
qt-lib: ['pyqt', 'pyside']
3032
include:
33+
# I think it's no need to test all of the matrix combinations.
34+
# Test our supporting python and Qt library only once on each os.
3135
- {py: '3.7', qt-lib: 'pyqt', qt: 'PyQt5~=5.15.0'}
32-
- {py: '3.7', qt-lib: 'pyside', qt: 'PySide2'}
33-
- {py: '3.8', qt-lib: 'pyqt', qt: 'PyQt5'}
34-
- {py: '3.8', qt-lib: 'pyside', qt: 'PySide6-Essentials'}
36+
- {py: '3.8', qt-lib: 'pyside', qt: 'PySide2~=5.15.0'}
3537
- {py: '3.9', qt-lib: 'pyqt', qt: 'PyQt6'}
36-
- {py: '3.9', qt-lib: 'pyside', qt: 'PySide6-Essentials'}
37-
- {py: '3.10', qt-lib: 'pyqt', qt: 'PyQt6'}
3838
- {py: '3.10', qt-lib: 'pyside', qt: 'PySide6-Essentials'}
39-
- {os: ubuntu-latest, py: '3.11', qt-lib: 'pyqt', qt: 'PyQt6'}
40-
- {os: macOS-latest, py: '3.11', qt-lib: 'pyqt', qt: 'PyQt6'}
41-
- {os: windows-latest, py: '3.11', qt-lib: 'pyqt', qt: 'PyQt6'}
39+
- {py: '3.11', qt-lib: 'pyqt', qt: 'PyQt6'}
40+
exclude:
41+
- {py: '3.7', qt-lib: 'pyside'}
42+
- {py: '3.8', qt-lib: 'pyqt'}
43+
- {py: '3.9', qt-lib: 'pyside'}
44+
- {py: '3.10', qt-lib: 'pyqt'}
45+
- {py: '3.11', qt-lib: 'pyside'}
4246
env:
4347
TEST_IMG_OUTPUT_PATH: 'dist'
4448
runs-on: ${{ matrix.os }}
49+
name: pytest (${{ matrix.os }}, ${{ matrix.py }}, ${{ matrix.qt }})
4550

4651
steps:
4752
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)