@@ -106,35 +106,35 @@ Before you submit a pull request, check that it meets these guidelines:
106106
1071071. If the pull request adds functionality, the docs should be updated. Put
108108 your new functionality into a function with a docstring.
109- 2. The pull request should work for Python >=3.7 . Check
110- https://travis-ci.org /galaxyproject/planemo/pull_requests
109+ 2. The pull request should work for Python >=3.10 . Check
110+ https://github.com /galaxyproject/planemo/actions
111111 and make sure that the tests pass for all supported Python versions.
112112
113113Tips
114114----
115115
116116To run a subset of tests::
117117
118- % make tox ENV=py37 -unit ARGS='--tests tests/test_shed_upload.py'
118+ % make tox ENV=py310 -unit ARGS='--tests tests/test_shed_upload.py'
119119
120- This will use Tox _ to run the specified tests using Python 3.7 . ``ENV `` here
121- can be used to specify different Python version (e.g. ``py36 `` or
122- ``py37 ``).
120+ This will use Tox _ to run the specified tests using Python 3.10 . ``ENV `` here
121+ can be used to specify a different supported Python version (e.g. ``py311 `` or
122+ ``py312 ``).
123123
124124Even more granularity is also possible by specifying specific test methods.::
125125
126- make tox ENV=py37 -unit ARGS='--tests tests/test_shed_upload.py:ShedUploadTestCase.test_tar_from_git'
126+ make tox ENV=py310 -unit ARGS='--tests tests/test_shed_upload.py:ShedUploadTestCase.test_tar_from_git'
127127
128128
129129``tox `` can be used to run tests directly also (use ``. .venv/bin/activate ``
130130to ensure it is on your ``PATH ``).
131131
132132::
133133
134- tox -e py37 -unit -- --tests tests/test_shed_upload.py
134+ tox -e py310 -unit -- --tests tests/test_shed_upload.py
135135
136- Tox _ itself is configured to wrap nose _ . One can skip Tox _ and run
137- ``nosetests `` directly.
136+ Tox _ itself is configured to wrap pytest _ . One can skip Tox _ and run
137+ ``pytest `` directly.
138138
139139::
140140
@@ -147,33 +147,33 @@ Tox_ is a tool to automate testing across different Python versions. The
147147``tox `` executable can be supplied with a ``-e `` argument to specify a
148148testing environment. Planemo defines the following environments:
149149
150- ``py37 -lint ``
151- Lint the planemo code using Python 3.7 .
150+ ``py310 -lint ``
151+ Lint the planemo code using Python 3.10 .
152152
153- ``py37 -lint_docs ``
153+ ``py310 -lint_docs ``
154154 Lint the docs reStructuredText.
155155
156- ``py37 -lint_docstrings ``
156+ ``py310 -lint_docstrings ``
157157 Lint the project Python docstrings (doesn't pass currently).
158158
159- ``py37 -unit-quick ``
160- Run the fastest unit tests (with least external dependencies) on Python 3.7 .
159+ ``py310 -unit-quick ``
160+ Run the fastest unit tests (with least external dependencies) on Python 3.10 .
161161
162- ``py37 -unit-nonredundant-noclientbuild-gx-2005 ``
163- Run tests that are marked as targeting a Galaxy branch and test against Galaxy 20.05 .
162+ ``py310 -unit-nonredundant-noclientbuild-gx-250 ``
163+ Run tests that are marked as targeting a Galaxy branch and test against Galaxy 25.0 .
164164 Skip tests that are marked as redundant or that require a Galaxy client build.
165165
166- ``py37 -unit-gx-dev ``
166+ ``py310 -unit-gx-dev ``
167167 Run tests that are marked as targeting a Galaxy branch and test against Galaxy's dev branch.
168168
169169Pre-commit Hooks
170170~~~~~~~~~~~~~~~~~~~~~
171171
172- Planemo pull requests are automatically linted and tested using `TravisCI
173- <https://travis-ci.org /galaxyproject/planemo> `__. A git pre-commit `hook
172+ Planemo pull requests are automatically linted and tested using `GitHub Actions
173+ <https://github.com /galaxyproject/planemo/actions > `__. A git pre-commit `hook
174174<http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks> `__ can be setup
175175to lint and/or test Planemo before committing to catch problems that would
176- be detected by TravisCI as early as possible.
176+ be detected by GitHub Actions as early as possible.
177177
178178The following command will install a pre-commit hook that lints the Planemo
179179code::
@@ -186,4 +186,4 @@ setup a more rigorous pre-commit hook::
186186 make setup-git-hook-lint-and-test
187187
188188.. _Tox : https://tox.readthedocs.org/en/latest/
189- .. _ nose : https://nose.readthedocs .org/en/latest/
189+ .. _ pytest : https://docs.pytest .org/en/latest/
0 commit comments