Skip to content

Commit 9d6ade8

Browse files
committed
Try to install tox using 'pip' on cygwin
1 parent 32332e4 commit 9d6ade8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ jobs:
183183
python${{ matrix.python }},
184184
python${{ matrix.python }}-devel,
185185
python${{ matrix.python }}-pip,
186-
python${{ matrix.python }}-tox,
187186
gcc-core,
188187
git,
189188
- name: Record the currently selected Python version
@@ -194,11 +193,11 @@ jobs:
194193
run: |
195194
python -c 'import platform; print("python-version=" + platform.python_version())' >> ${GITHUB_OUTPUT}
196195
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
197-
- name: Install missing dependencies
196+
- name: Install tox using pip
198197
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
199198
run: |
200199
# Workaround for https://github.com/pypa/setuptools/issues/4831
201-
python -m pip check | sed -rn 's/.*requires ([^,]+),.*/\1/p' | xargs python -m pip install
200+
python -m pip install tox
202201
- name: Run tests
203202
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
204203
run: |

0 commit comments

Comments
 (0)