@@ -18,63 +18,54 @@ jobs:
18
18
include :
19
19
- name : ' check'
20
20
python : ' 3.11'
21
- toxpython : ' python3.11'
22
21
tox_env : ' check'
23
22
os : ' ubuntu-latest'
23
+ python_arch : ' x64'
24
24
- name : ' docs'
25
25
python : ' 3.11'
26
- toxpython : ' python3.11'
27
26
tox_env : ' docs'
28
27
os : ' ubuntu-latest'
28
+ python_arch : ' x64'
29
29
- name : ' py38 (ubuntu)'
30
30
python : ' 3.8'
31
- toxpython : ' python3.8'
32
31
python_arch : ' x64'
33
32
tox_env : ' py38'
34
33
os : ' ubuntu-latest'
35
34
- name : ' py39 (ubuntu)'
36
35
python : ' 3.9'
37
- toxpython : ' python3.9'
38
36
python_arch : ' x64'
39
37
tox_env : ' py39'
40
38
os : ' ubuntu-latest'
41
39
- name : ' py39 (windows)'
42
40
python : ' 3.9'
43
- toxpython : ' python3.9'
44
41
python_arch : ' x64'
45
42
tox_env : ' py39'
46
43
os : ' windows-latest'
47
44
- name : ' py310 (ubuntu)'
48
45
python : ' 3.10'
49
- toxpython : ' python3.10'
50
46
python_arch : ' x64'
51
47
tox_env : ' py310'
52
48
os : ' ubuntu-latest'
53
49
- name : ' py310 (windows)'
54
50
python : ' 3.10'
55
- toxpython : ' python3.10'
56
51
python_arch : ' x64'
57
52
tox_env : ' py310'
58
53
os : ' windows-latest'
59
54
- name : ' py311 (ubuntu)'
60
55
python : ' 3.11'
61
- toxpython : ' python3.11'
62
56
python_arch : ' x64'
63
57
tox_env : ' py311'
64
58
os : ' ubuntu-latest'
65
59
- name : ' py311 (macos)'
66
60
python : ' 3.11'
67
- toxpython : ' python3.11'
68
- python_arch : ' arm64'
61
+ python_arch : ' arm64' # Correct architecture for macos-latest
69
62
tox_env : ' py311'
70
63
os : ' macos-latest'
71
64
- name : ' py311 (windows)'
72
65
python : ' 3.11'
73
- toxpython : ' python3.11'
74
66
python_arch : ' x64'
75
67
tox_env : ' py311'
76
68
os : ' windows-latest'
77
-
78
69
# - name: 'pypy38 (ubuntu)'
79
70
# python: 'pypy-3.8'
80
71
# toxpython: 'pypy3.8'
@@ -104,21 +95,26 @@ jobs:
104
95
- uses : actions/checkout@v4
105
96
with :
106
97
fetch-depth : 0
107
- - uses : actions/setup-python@v5
98
+
99
+ - name : Set up Python
100
+ uses : actions/setup-python@v5
101
+ id : setup
108
102
with :
109
103
python-version : ${{ matrix.python }}
110
104
architecture : ${{ matrix.python_arch }}
105
+
111
106
- name : install dependencies
112
107
run : |
113
- python -mpip install --upgrade pip
114
- python -mpip install --progress-bar=off -r ci/requirements.txt
108
+ ${{ steps.setup.outputs. python-path }} -mpip install --upgrade pip
109
+ ${{ steps.setup.outputs. python-path }} -mpip install --progress-bar=off -r ci/requirements.txt
115
110
virtualenv --version
116
111
pip --version
117
112
tox --version
118
113
pip list --format=freeze
114
+
119
115
- name : test
120
116
env :
121
- TOXPYTHON : ' ${{ matrix.toxpython }}'
117
+ TOXPYTHON : ${{ steps.setup.outputs.python-path }}
122
118
run : >
123
119
tox -e ${{ matrix.tox_env }} -v
124
120
@@ -132,20 +128,22 @@ jobs:
132
128
with :
133
129
fetch-depth : 0
134
130
- uses : actions/setup-python@v5
131
+ id : setup
135
132
with :
136
133
python-version : ' 3.11'
137
134
architecture : ' x64'
138
135
- name : install dependencies
139
136
run : |
140
- python -mpip install --upgrade pip
141
- python -mpip install --progress-bar=off -r ci/requirements.txt
137
+ ${{ steps.setup.outputs. python-path }} -mpip install --upgrade pip
138
+ ${{ steps.setup.outputs. python-path }} -mpip install --progress-bar=off -r ci/requirements.txt
142
139
virtualenv --version
143
140
pip --version
144
141
tox --version
145
142
pip list --format=freeze
146
143
- name : generate coverage report
147
144
env :
148
145
TOXPYTHON : ' 3.11'
146
+ # TOXPYTHON: ${{ steps.setup.outputs.python-path }}
149
147
run : |
150
148
tox -e py311
151
149
@@ -166,13 +164,14 @@ jobs:
166
164
with :
167
165
fetch-depth : 0
168
166
- uses : actions/setup-python@v5
167
+ id : setup
169
168
with :
170
169
python-version : ' 3.11'
171
170
architecture : ' x64'
172
171
- name : install dependencies
173
172
run : |
174
- python -mpip install --upgrade pip
175
- python -mpip install --progress-bar=off -r ci/requirements.txt
173
+ ${{ steps.setup.outputs. python-path }} -mpip install --upgrade pip
174
+ ${{ steps.setup.outputs. python-path }} -mpip install --progress-bar=off -r ci/requirements.txt
176
175
virtualenv --version
177
176
pip --version
178
177
tox --version
@@ -181,6 +180,7 @@ jobs:
181
180
- name : generate docs
182
181
env :
183
182
TOXPYTHON : ' 3.11'
183
+ # TOXPYTHON: ${{ steps.setup.outputs.python-path }}
184
184
run : |
185
185
tox -e docs -v
186
186
ls -l dist/docs
0 commit comments