Skip to content

Commit 26cd74f

Browse files
committed
gh-actions: use tox≥4
1 parent ef61904 commit 26cd74f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Upgrade setuptools and install tox
7171
run: |
7272
pip install -U pip setuptools wheel
73-
pip install "tox<4" "tox-gh-actions<3"
73+
pip install tox tox-gh-actions
7474
7575
- name: MyPy cache
7676
if: ${{ matrix.step == 'mypy' }}
@@ -116,7 +116,7 @@ jobs:
116116
- name: Upgrade setuptools and install tox
117117
run: |
118118
pip install -U pip setuptools wheel
119-
pip install "tox<4" "tox-gh-actions<3"
119+
pip install tox tox-gh-actions
120120
121121
- if: ${{ matrix.step == 'pydocstyle' && github.event_name == 'pull_request'}}
122122
name: Create local branch for diff-quality for PRs
@@ -290,7 +290,7 @@ jobs:
290290
- name: Upgrade setuptools and install tox
291291
run: |
292292
pip install -U pip setuptools wheel
293-
pip install "tox<4" "tox-gh-actions<3"
293+
pip install tox tox-gh-actions
294294
# # docker for mac install is not currently stable
295295
# - name: 'SETUP MacOS: load Homebrew cache'
296296
# uses: actions/cache@v4

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -732,14 +732,14 @@ To run the basic tests after installing `cwltool` execute the following:
732732
To run various tests in all supported Python environments, we use `tox <https://github.com/common-workflow-language/cwltool/tree/main/tox.ini>`_. To run the test suite in all supported Python environments
733733
first clone the complete code repository (see the ``git clone`` instructions above) and then run
734734
the following in the terminal:
735-
``pip install "tox<4"; tox -p``
735+
``pip install tox; tox -p``
736736

737737
List of all environment can be seen using:
738738
``tox --listenvs``
739739
and running a specific test env using:
740-
``tox -e <env name>``
740+
``tox run -e <env name>``
741741
and additionally run a specific test using this format:
742-
``tox -e py310-unit -- -v tests/test_examples.py::test_scandeps``
742+
``tox run -e py310-unit -- -v tests/test_examples.py::test_scandeps``
743743

744744
- Running the entire suite of CWL conformance tests:
745745

0 commit comments

Comments
 (0)