File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ jobs:
182
182
packages : >-
183
183
python${{ matrix.python }},
184
184
python${{ matrix.python }}-devel,
185
- python${{ matrix.python }}-tox ,
185
+ python${{ matrix.python }}-pip ,
186
186
gcc-core,
187
187
git,
188
188
- name : Record the currently selected Python version
@@ -193,11 +193,17 @@ jobs:
193
193
run : |
194
194
python -c 'import platform; print("python-version=" + platform.python_version())' >> ${GITHUB_OUTPUT}
195
195
shell : C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
196
+ - name : Install tox using pip
197
+ shell : C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
198
+ run : |
199
+ # Workaround for https://github.com/pypa/setuptools/issues/4831
200
+ python -m pip install tox
196
201
- name : Run tests
197
202
shell : C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
198
203
run : |
199
- git config --global --add safe.directory "$(cygpath -u "$GITHUB_WORKSPACE")" # workaround for #3408
200
- tox
204
+ git config --global --add safe.directory "$(cygpath -u "${{ github.workspace }}")" # workaround for #3408
205
+ echo "$(cygpath -u "${{ github.workspace }}")" # for debugging purposes
206
+ python -m tox
201
207
- name : Create coverage report
202
208
if : hashFiles('.coverage') != '' # Rudimentary `file.exists()`
203
209
run : |
You can’t perform that action at this time.
0 commit comments