@@ -142,7 +142,7 @@ jobs:
142
142
path : coverage
143
143
144
144
test-not-compiled :
145
- name : test py${{ matrix.python-version }} on ${{ runner .os }}
145
+ name : test py${{ matrix.python-version }} on ${{ matrix .os }}
146
146
strategy :
147
147
fail-fast : false
148
148
matrix :
@@ -299,7 +299,7 @@ jobs:
299
299
run : make test-fastapi
300
300
301
301
build :
302
- name : build py3.${{ matrix.python-version }} on ${{ runner .os }}
302
+ name : build py3.${{ matrix.python-version }} on ${{ matrix.platform || matrix .os }}
303
303
needs : [lint, test-linux-compiled, test-not-compiled, test-old-mypy, test-fastapi]
304
304
if : " success() && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master')"
305
305
strategy :
@@ -308,6 +308,8 @@ jobs:
308
308
os : [ubuntu , macos , windows]
309
309
python-version : ['7', '8', '9', '10']
310
310
include :
311
+ - os : ubuntu
312
+ platform : linux
311
313
- os : windows
312
314
ls : dir
313
315
@@ -329,13 +331,13 @@ jobs:
329
331
env :
330
332
SKIP_CYTHON : 1
331
333
332
- - name : build ${{ runner .os }} binaries
334
+ - name : build ${{ matrix.platform || matrix .os }} binaries
333
335
run : cibuildwheel --output-dir dist
334
336
env :
335
337
PIP : ' pip'
336
338
CIBW_BUILD : ' cp3${{ matrix.python-version }}-*'
337
339
CIBW_SKIP : ' *-win32'
338
- CIBW_PLATFORM : ' ${{ runner .os }}'
340
+ CIBW_PLATFORM : ' ${{ matrix.platform || matrix .os }}'
339
341
CIBW_BEFORE_BUILD : ' pip install -U cython'
340
342
CIBW_TEST_REQUIRES : ' pytest==6.2.5 pytest-mock==3.6.1'
341
343
CIBW_TEST_COMMAND : ' pytest {project}/tests'
0 commit comments