|
30 | 30 | - name: Install dependencies |
31 | 31 | run: | |
32 | 32 | python -m pip install --upgrade pip |
33 | | - pip install pytest |
34 | | - pip install -r requirements.txt |
| 33 | + python -m pip install pytest |
| 34 | + python -m pip install -r requirements.txt |
35 | 35 |
|
36 | 36 | - name: Build wheels (Windows x86) |
37 | 37 | if: runner.os == 'Windows' |
|
40 | 40 | python -m cibuildwheel --output-dir wheelhouse |
41 | 41 | env: |
42 | 42 | CIBW_BUILD: 'cp37-win32 cp38-win32 cp39-win32' |
43 | | - CIBW_BEFORE_BUILD: pip install -r requirements.txt |
44 | | - CIBW_BEFORE_TEST: pip install pytest numpy |
| 43 | + CIBW_BEFORE_BUILD: python -m pip install -r requirements.txt |
| 44 | + CIBW_BEFORE_TEST: python -m pip install pytest numpy |
45 | 45 | CIBW_TEST_COMMAND: pytest {project} |
46 | 46 | CIBW_BUILD_VERBOSITY: 1 |
47 | 47 |
|
|
57 | 57 | python -m cibuildwheel --output-dir wheelhouse |
58 | 58 | env: |
59 | 59 | CIBW_BUILD: 'cp37-win_amd64 cp38-win_amd64 cp39-win_amd64' |
60 | | - CIBW_BEFORE_BUILD: pip install -r requirements.txt |
61 | | - CIBW_BEFORE_TEST: pip install pytest numpy |
| 60 | + CIBW_BEFORE_BUILD: python -m pip install -r requirements.txt |
| 61 | + CIBW_BEFORE_TEST: python -m pip install pytest numpy |
62 | 62 | CIBW_TEST_COMMAND: pytest {project} |
63 | 63 | CIBW_BUILD_VERBOSITY: 1 |
64 | 64 |
|
|
69 | 69 | python -m cibuildwheel --output-dir wheelhouse |
70 | 70 | env: |
71 | 71 | CIBW_BUILD: 'cp37-* cp38-* cp39-*' |
72 | | - CIBW_BEFORE_BUILD: pip install -r requirements.txt |
| 72 | + CIBW_BEFORE_BUILD: python -m pip install -r requirements.txt |
73 | 73 | CIBW_BEFORE_TEST: | |
74 | 74 | pip install pytest |
75 | 75 | pip install -r requirements.txt |
|
0 commit comments