1
- name : build
1
+ name : test
2
2
3
3
on : [push, pull_request]
4
4
@@ -8,42 +8,49 @@ concurrency:
8
8
cancel-in-progress : true
9
9
10
10
jobs :
11
- build :
11
+ package :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ - name : Build and Check Package
16
+
17
+
18
+ test :
19
+
20
+ needs : [package]
12
21
13
22
runs-on : ${{ matrix.os }}
14
23
strategy :
15
24
fail-fast : false
16
25
17
26
matrix :
18
- python-version : ["3.7 ", "3.8 ", "3.9 ", "3.10 ", "3.11 "]
27
+ python-version : ["3.8 ", "3.9 ", "3.10 ", "3.11 ", "3.12 "]
19
28
qt-lib : [pyqt5, pyqt6, pyside2, pyside6]
20
29
os : [ubuntu-latest, windows-latest, macos-latest]
21
- include :
22
- - python-version : " 3.7"
23
- tox-env : " py37"
24
- - python-version : " 3.8"
25
- tox-env : " py38"
26
- - python-version : " 3.9"
27
- tox-env : " py39"
28
- - python-version : " 3.10"
29
- tox-env : " py310"
30
- - python-version : " 3.11"
31
- tox-env : " py311"
32
30
exclude :
33
31
# Not installable:
34
32
# ERROR: Could not find a version that satisfies the requirement pyside2 (from versions: none)
35
33
- python-version : " 3.11"
36
34
qt-lib : pyside2
37
35
os : windows-latest
36
+ - python-version : " 3.12"
37
+ qt-lib : pyside2
38
38
39
39
steps :
40
40
- uses : actions/checkout@v3
41
+
41
42
- name : Set up Python ${{ matrix.python-version }}
42
43
uses : actions/setup-python@v3
43
44
with :
44
45
python-version : ${{ matrix.python-version }}
45
46
46
- - name : Install dependencies
47
+ - name : Download Package
48
+ uses : actions/download-artifact@v3
49
+ with :
50
+ name : Packages
51
+ path : dist
52
+
53
+ - name : Install Dependencies
47
54
run : |
48
55
python -m pip install --upgrade pip
49
56
pip install tox
52
59
sudo apt-get install -y libgles2-mesa-dev
53
60
fi
54
61
shell : bash
55
- - name : Test with tox
62
+
63
+ - name : Test
64
+ shell : bash
56
65
run : |
57
- tox -e ${{ matrix.tox-env }}- ${{ matrix.qt-lib }} -- -ra --color=yes
66
+ tox -e py- ${{ matrix.qt-lib }} --installpkg `find dist/*.tar.gz` -- -ra
0 commit comments