File tree Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,18 @@ jobs:
19
19
- windows-latest
20
20
- macos-latest
21
21
python :
22
- - short : 27
23
- dotted : 2.7
24
- - short : 35
25
- dotted : 3.5
26
- - short : 36
27
- dotted : 3.6
28
- - short : 37
29
- dotted : 3.7
22
+ - name : CPython 2.7
23
+ tox : py27
24
+ action : 2.7
25
+ - name : CPython 3.5
26
+ tox : py35
27
+ action : 3.5
28
+ - name : CPython 3.6
29
+ tox : py36
30
+ action : 3.6
31
+ - name : CPython 3.7
32
+ tox : py37
33
+ action : 3.7
30
34
reactor :
31
35
- default
32
36
- qt5
@@ -40,10 +44,10 @@ jobs:
40
44
reactor : asyncio
41
45
steps :
42
46
- uses : actions/checkout@v2
43
- - name : Set up Python ${{ matrix.python.dotted }}
47
+ - name : Set up ${{ matrix.python.name }}
44
48
uses : actions/setup-python@v1
45
49
with :
46
- python-version : ${{ matrix.python.dotted }}
50
+ python-version : ${{ matrix.python.action }}
47
51
architecture : x64
48
52
- name : Install Linux dependencies
49
53
if : matrix.system.platform == 'linux'
@@ -58,13 +62,10 @@ jobs:
58
62
run : |
59
63
import sys
60
64
61
- toxenv = '${{ matrix.toxenv }}'
62
-
63
- if toxenv == '':
64
- toxenv = 'py${{ matrix.python.short }}-${{ matrix.reactor }}reactor'
65
+ toxenv = '${{ matrix.python.tox }}-${{ matrix.reactor }}reactor'
65
66
66
- if sys.platform == 'win32':
67
- toxenv = 'win-' + toxenv
67
+ if sys.platform == 'win32':
68
+ toxenv = 'win-' + toxenv
68
69
69
70
print('::set-env name=TOXENV::{}'.format(toxenv))
70
71
- name : Test
You can’t perform that action at this time.
0 commit comments