@@ -36,15 +36,15 @@ jobs:
3636 - name : Upgrade setuptools, pip and wheel
3737 run : python -m pip install -U setuptools pip wheel
3838 - name : Install tox
39- run : python -m pip install tox
39+ run : python -m pip install tox>=4
4040 - name : Set PY
4141 run : echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
4242 - uses : actions/cache@v3
4343 with :
4444 path : ~/.cache/pre-commit
4545 key : pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
4646 - name : Run fix_lint
47- run : python -m tox -e fix_lint
47+ run : python -m tox run -e fix_lint
4848
4949 dependency :
5050 name : Check dependency
6161 - name : Display Python version
6262 run : python -c "import sys; print(sys.version)"
6363 - name : Install tox
64- run : python -m pip install tox tox-external-wheels
64+ run : python -m pip install tox>=4
6565 - name : Run tests
66- run : python -m tox -e dependency
66+ run : python -m tox run -e dependency
6767
6868 build :
6969 needs : lint
@@ -152,17 +152,17 @@ jobs:
152152 - name : Upgrade setuptools, pip and wheel
153153 run : python -m pip install -U setuptools pip wheel
154154 - name : Install tox
155- run : python -m pip install tox tox-external-wheels
155+ run : python -m pip install tox>=4
156156 - name : Run tests
157- run : python -m tox -e " py${PYTHON_VERSION/\./}-{extras,unit,integ,pandas,sso}-ci"
157+ run : python -m tox run -e `echo py${PYTHON_VERSION/\./}-{extras,unit,integ,pandas,sso}-ci | sed 's/ /,/g'`
158158 env :
159159 PYTHON_VERSION : ${{ matrix.python-version }}
160160 cloud_provider : ${{ matrix.cloud-provider }}
161161 PYTEST_ADDOPTS : --color=yes --tb=short
162162 TOX_PARALLEL_NO_SPINNER : 1
163163 shell : bash
164164 - name : Combine coverages
165- run : python -m tox -e coverage --skip-missing-interpreters false
165+ run : python -m tox run -e coverage --skip-missing-interpreters false
166166 shell : bash
167167 - uses : actions/upload-artifact@v3
168168 with :
@@ -201,9 +201,9 @@ jobs:
201201 - name : Upgrade setuptools, pip and wheel
202202 run : python -m pip install -U setuptools pip wheel
203203 - name : Install tox
204- run : python -m pip install tox
204+ run : python -m pip install tox>=4
205205 - name : Run tests
206- run : python -m tox -e olddriver
206+ run : python -m tox run -e olddriver
207207 env :
208208 PYTHON_VERSION : ${{ matrix.python-version }}
209209 cloud_provider : ${{ matrix.cloud-provider }}
@@ -233,9 +233,9 @@ jobs:
233233 - name : Upgrade setuptools, pip and wheel
234234 run : python -m pip install -U setuptools pip wheel
235235 - name : Install tox
236- run : python -m pip install tox
236+ run : python -m pip install tox>=4
237237 - name : Run tests
238- run : python -m tox -e noarrowextension
238+ run : python -m tox run -e noarrowextension
239239 env :
240240 PYTHON_VERSION : ${{ matrix.python-version }}
241241 cloud_provider : ${{ matrix.cloud-provider }}
@@ -347,7 +347,7 @@ jobs:
347347 - name : Upgrade setuptools and pip
348348 run : python -m pip install -U setuptools pip wheel
349349 - name : Install tox
350- run : python -m pip install tox
350+ run : python -m pip install tox>=4
351351 - name : Collect all coverages to one dir
352352 run : |
353353 python -c '
@@ -362,7 +362,7 @@ jobs:
362362 print("{} copy to {}".format(src_file, dst_file))
363363 shutil.copy(str(src_file), str(dst_file))'
364364 - name : Combine coverages
365- run : python -m tox -e coverage
365+ run : python -m tox run -e coverage
366366 - name : Publish html coverage
367367 uses : actions/upload-artifact@v3
368368 with :
0 commit comments