3838 - name : Install dependencies
3939 run : |
4040 python -m pip install --upgrade pip
41- pip install pytest
42- pip install -r requirements.txt
41+ python -m pip install pytest
42+ python -m pip install -r requirements.txt
4343
4444 - name : Build wheels (Windows x86)
4545 if : runner.os == 'Windows'
4848 python -m cibuildwheel --output-dir wheelhouse
4949 env :
5050 CIBW_BUILD : ' cp37-win32 cp38-win32 cp39-win32'
51- CIBW_BEFORE_BUILD : pip install -r requirements.txt
52- CIBW_BEFORE_TEST : pip install pytest numpy
51+ CIBW_BEFORE_BUILD : python -m pip install -r requirements.txt
52+ CIBW_BEFORE_TEST : python -m pip install pytest numpy
5353 CIBW_TEST_COMMAND : pytest {project}
5454 CIBW_BUILD_VERBOSITY : 1
5555
6565 python -m cibuildwheel --output-dir wheelhouse
6666 env :
6767 CIBW_BUILD : ' cp37-win_amd64 cp38-win_amd64 cp39-win_amd64'
68- CIBW_BEFORE_BUILD : pip install -r requirements.txt
69- CIBW_BEFORE_TEST : pip install pytest numpy
68+ CIBW_BEFORE_BUILD : python -m pip install -r requirements.txt
69+ CIBW_BEFORE_TEST : python -m pip install pytest numpy
7070 CIBW_TEST_COMMAND : pytest {project}
7171 CIBW_BUILD_VERBOSITY : 1
7272
@@ -77,11 +77,10 @@ jobs:
7777 python -m cibuildwheel --output-dir wheelhouse
7878 env :
7979 CIBW_BUILD : ' cp37-* cp38-* cp39-*'
80- CIBW_BEFORE_BUILD : pip install -r requirements.txt
80+ CIBW_BEFORE_BUILD : python -m pip install -r requirements.txt
8181 CIBW_BEFORE_TEST : |
82- ls {project}
83- pip install pytest
84- pip install -r requirements.txt
82+ python -m pip install pytest
83+ python -m pip install -r requirements.txt
8584 CIBW_TEST_COMMAND : pytest {project}
8685 CIBW_BUILD_VERBOSITY : 1
8786
0 commit comments