Skip to content

Commit 38227c1

Browse files
authored
Merge pull request #1099 from nsoranzo/run_tests.sh_invocation_fix
Fix ``run_tests.sh`` invocation
2 parents 1f9fdff + 730818c commit 38227c1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+807
-90
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
tox-env:
66
type: string
77
docker:
8-
- image: circleci/python:3.5-node
8+
- image: circleci/python:3.6-node
99
steps:
1010
- checkout
1111
- run: git submodule sync
@@ -19,7 +19,7 @@ workflows:
1919
matrix:
2020
parameters:
2121
tox-env:
22-
- "py35-diagnostic-unit-servebasic-gx-dev"
23-
- "py35-unit-nonredundant-noclientbuild-noshed-gx-2005"
24-
- "py35-unit-nonredundant-noclientbuild-noshed-gx-dev"
25-
- "py35-unit-nonredundant-noclientbuild-noshed"
22+
- "py36-diagnostic-unit-servebasic-gx-dev"
23+
- "py36-unit-nonredundant-noclientbuild-noshed-gx-2005"
24+
- "py36-unit-nonredundant-noclientbuild-noshed-gx-dev"
25+
- "py36-unit-nonredundant-noclientbuild-noshed"

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ matrix:
66
env: TOX_ENV=py37-lint_docstrings
77
- python: 3.7
88
env: TOX_ENV=py37-unit-diagnostic-serveshed
9-
- python: 3.7
10-
env: TOX_ENV=py37-unit-quick
11-
- python: 3.7
12-
env: TOX_ENV=py37-unit-nonredundant-noclientbuild-noshed-gx-2005
139
- python: 3.7
1410
env: TOX_ENV=py37-unit-nonredundant-noclientbuild-noshed-gx-master
1511
- python: 3.7

CONTRIBUTING.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Before you submit a pull request, check that it meets these guidelines:
106106

107107
1. 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.5. Check
109+
2. The pull request should work for Python >=3.6. Check
110110
https://travis-ci.org/galaxyproject/planemo/pull_requests
111111
and make sure that the tests pass for all supported Python versions.
112112

@@ -118,7 +118,7 @@ To run a subset of tests::
118118
% make tox ENV=py37-unit ARGS='--tests tests/test_shed_upload.py'
119119

120120
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. ``py35`` or
121+
can be used to specify different Python version (e.g. ``py36`` or
122122
``py37``).
123123

124124
Even more granularity is also possible by specifying specific test methods.::
@@ -148,16 +148,16 @@ Tox_ is a tool to automate testing across different Python versions. The
148148
testing environment. Planemo defines the following environments:
149149

150150
``py37-lint``
151-
Lint the planemo code using Python 3.7..
151+
Lint the planemo code using Python 3.7.
152152

153153
``py37-lint_docs``
154154
Lint the docs reStructuredText.
155155

156156
``py37-lint_docstrings``
157157
Lint the project Python docstrings (doesn't pass currently).
158158

159-
``py35-unit-quick``
160-
Run the fastest unit tests (with least external dependencies) on Python 3.5.
159+
``py36-unit-quick``
160+
Run the fastest unit tests (with least external dependencies) on Python 3.6.
161161

162162
``py36-unit-nonredundant-noclientbuild-gx-2005``
163163
Run tests that are marked as targeting a Galaxy branch and test against Galaxy 20.05.

docs/commands.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ documentation describes these commands.
1818
.. include:: commands/conda_search.rst
1919
.. include:: commands/config_init.rst
2020
.. include:: commands/container_register.rst
21+
.. include:: commands/create_alias.rst
2122
.. include:: commands/database_create.rst
2223
.. include:: commands/database_delete.rst
2324
.. include:: commands/database_list.rst
25+
.. include:: commands/delete_alias.rst
2426
.. include:: commands/docker_build.rst
2527
.. include:: commands/docker_shell.rst
2628
.. include:: commands/dockstore_init.rst
2729
.. include:: commands/docs.rst
2830
.. include:: commands/lint.rst
31+
.. include:: commands/list_alias.rst
32+
.. include:: commands/list_invocations.rst
2933
.. include:: commands/list_repos.rst
3034
.. include:: commands/merge_test_reports.rst
3135
.. include:: commands/mull.rst
@@ -62,4 +66,5 @@ documentation describes these commands.
6266
.. include:: commands/workflow_edit.rst
6367
.. include:: commands/workflow_job_init.rst
6468
.. include:: commands/workflow_lint.rst
65-
.. include:: commands/workflow_test_init.rst
69+
.. include:: commands/workflow_test_init.rst
70+
.. include:: commands/workflow_upload.rst

docs/commands/ci_find_repos.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ This section is auto-generated from the help text for the planemo command
1414

1515
Find all shed repositories in one or more directories.
1616

17-
Currently, a shed repository is considered a directory with a .shed.yml
18-
file.
17+
Currently, a repository is considered any directory with a .shed.yml
18+
or .dockstore.yml file.
1919

2020
**Options**::
2121

@@ -25,9 +25,11 @@ file.
2525
--changed_in_commit_range TEXT Exclude paths unchanged in git commit range.
2626
--chunk_count INTEGER Split output into chunks of this many item and
2727
print --chunk such group.
28+
2829
--chunk INTEGER When output is split into --chunk_count
2930
groups, output the group 0-indexedby this
3031
option.
32+
3133
--output TEXT File to output to, or - for standard output.
3234
--help Show this message and exit.
3335

docs/commands/ci_find_tools.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,14 @@ operations over for continuous integration operations.
2525
--changed_in_commit_range TEXT Exclude paths unchanged in git commit range.
2626
--chunk_count INTEGER Split output into chunks of this many item and
2727
print --chunk such group.
28+
2829
--chunk INTEGER When output is split into --chunk_count
2930
groups, output the group 0-indexedby this
3031
option.
32+
3133
--output TEXT File to output to, or - for standard output.
3234
--group_tools Group tools of the same repository on a single
3335
line.
36+
3437
--help Show this message and exit.
3538

docs/commands/clone.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ repository to allow a subsequent pull request to fix a problem with bwa.
2727
$ git commit -m "Fix bwa problem."
2828
$ planemo pull_request -m "Fix bwa problem."
2929

30-
These changes do require that a github username and password are
31-
specified in ~/.planemo.yml.
30+
These changes do require that a github access token is
31+
specified in ~/.planemo.yml. An access token can be generated by going
32+
to https://github.com/settings/tokens.
3233

3334
**Options**::
3435

docs/commands/conda_build.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@ Perform conda build with Planemo's conda.
1818

1919
--conda_prefix DIRECTORY Conda prefix to use for conda dependency
2020
commands.
21+
2122
--conda_exec FILE Location of conda executable.
2223
--conda_debug Enable more verbose conda logging.
2324
--conda_channels, --conda_ensure_channels TEXT
2425
Ensure conda is configured with specified
2526
comma separated list of channels.
27+
2628
--conda_use_local Use locally built packages while building
2729
Conda environments.
30+
2831
--help Show this message and exit.
2932

docs/commands/conda_env.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,15 @@ tool.
3232

3333
--conda_prefix DIRECTORY Conda prefix to use for conda dependency
3434
commands.
35+
3536
--conda_exec FILE Location of conda executable.
3637
--conda_debug Enable more verbose conda logging.
3738
--conda_channels, --conda_ensure_channels TEXT
3839
Ensure conda is configured with specified
3940
comma separated list of channels.
41+
4042
--conda_use_local Use locally built packages while building
4143
Conda environments.
44+
4245
--help Show this message and exit.
4346

docs/commands/conda_init.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,15 @@ if Conda is already installed.
2929

3030
--conda_prefix DIRECTORY Conda prefix to use for conda dependency
3131
commands.
32+
3233
--conda_exec FILE Location of conda executable.
3334
--conda_debug Enable more verbose conda logging.
3435
--conda_channels, --conda_ensure_channels TEXT
3536
Ensure conda is configured with specified
3637
comma separated list of channels.
38+
3739
--conda_use_local Use locally built packages while building
3840
Conda environments.
41+
3942
--help Show this message and exit.
4043

docs/commands/conda_install.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,30 @@ Install conda packages for tool requirements.
1818

1919
-r, --recursive Recursively perform command for
2020
subdirectories.
21+
2122
--conda_prefix DIRECTORY Conda prefix to use for conda dependency
2223
commands.
24+
2325
--conda_exec FILE Location of conda executable.
2426
--conda_debug Enable more verbose conda logging.
2527
--conda_channels, --conda_ensure_channels TEXT
2628
Ensure conda is configured with specified
2729
comma separated list of channels.
30+
2831
--conda_use_local Use locally built packages while building
2932
Conda environments.
33+
3034
--global Install Conda dependencies globally instead of
3135
in requirement specific environments packaged
3236
for tools. If the Conda bin directory is on
3337
your PATH, tools may still use binaries but
3438
this is more designed for interactive testing
3539
and debugging.
40+
3641
--conda_auto_init / --no_conda_auto_init
3742
Conda dependency resolution for Galaxy will
3843
auto install conda itself using miniconda if
3944
not availabe on conda_prefix.
45+
4046
--help Show this message and exit.
4147

docs/commands/conda_lint.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ https://github.com/ContinuumIO/anaconda-verify.
2525
--fail_level [warn|error]
2626
-r, --recursive Recursively perform command for nested conda
2727
directories.
28+
2829
--help Show this message and exit.
2930

docs/commands/conda_search.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ Implicitly adds channels Planemo is configured with.
2121

2222
--conda_prefix DIRECTORY Conda prefix to use for conda dependency
2323
commands.
24+
2425
--conda_exec FILE Location of conda executable.
2526
--conda_debug Enable more verbose conda logging.
2627
--conda_channels, --conda_ensure_channels TEXT
2728
Ensure conda is configured with specified
2829
comma separated list of channels.
30+
2931
--conda_use_local Use locally built packages while building
3032
Conda environments.
33+
3134
--help Show this message and exit.
3235

docs/commands/container_register.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,37 @@ so that a container can be created and registered for these tools.
2424

2525
-r, --recursive Recursively perform command for
2626
subdirectories.
27+
2728
--mulled_namespace TEXT Build a mulled image with the specified
2829
namespace - defaults to biocontainers. Galaxy
2930
currently only recognizes images with the
3031
namespace biocontainers.
32+
3133
--conda_prefix DIRECTORY Conda prefix to use for conda dependency
3234
commands.
35+
3336
--conda_exec FILE Location of conda executable.
3437
--conda_debug Enable more verbose conda logging.
3538
--conda_channels, --conda_ensure_channels TEXT
3639
Ensure conda is configured with specified
3740
comma separated list of channels.
41+
3842
--conda_use_local Use locally built packages while building
3943
Conda environments.
44+
4045
--output_directory DIRECTORY Container registration directory (defaults to
4146
~/.planemo/multi-package-containers.
47+
4248
-m, --message TEXT Commit and pull request message template for
4349
registration interactions.
50+
4451
--pull_request / --no_pull_request
4552
Fork and create a pull request against
4653
BioContainers/multi-package-containers for
4754
these changes.
55+
4856
--force_push / --no_force_push Force push branch for pull request in case it
4957
already exists.
58+
5059
--help Show this message and exit.
5160

docs/commands/create_alias.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
``create_alias`` command
3+
======================================
4+
5+
This section is auto-generated from the help text for the planemo command
6+
``create_alias``. This help message can be generated with ``planemo create_alias
7+
--help``.
8+
9+
**Usage**::
10+
11+
planemo create_alias [OPTIONS] OBJ
12+
13+
**Help**
14+
15+
16+
Add an alias for a path or a workflow or dataset ID. Aliases are associated with a particular planemo profile.
17+
18+
**Options**::
19+
20+
21+
--alias TEXT Name of an alias.
22+
--profile TEXT Name of profile (created with the profile_create command) to
23+
use with this command. [required]
24+
25+
--help Show this message and exit.
26+

docs/commands/database_create.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,29 @@ be set by setting up a file ``~/.pgpass`` file with the following contents.
6969
postgres_docker is not yet persisted past when
7070
you restart the docker container launched by
7171
Planemo so be careful with this option.
72+
7273
--postgres_psql_path TEXT Name or or path to postgres client binary
7374
(psql).
75+
7476
--postgres_database_user TEXT Postgres username for managed development
7577
databases.
78+
7679
--postgres_database_host TEXT Postgres host name for managed development
7780
databases.
81+
7882
--postgres_database_port TEXT Postgres port for managed development
7983
databases.
84+
8085
--docker_cmd TEXT Command used to launch docker (defaults to
8186
docker).
87+
8288
--docker_sudo / --no_docker_sudo
8389
Flag to use sudo when running docker.
8490
--docker_host TEXT Docker host to target when executing docker
8591
commands (defaults to localhost).
92+
8693
--docker_sudo_cmd TEXT sudo command to use when --docker_sudo is
8794
enabled (defaults to sudo).
95+
8896
--help Show this message and exit.
8997

docs/commands/database_delete.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,29 @@ be set by setting up a file ``~/.pgpass`` file with the following contents.
6969
postgres_docker is not yet persisted past when
7070
you restart the docker container launched by
7171
Planemo so be careful with this option.
72+
7273
--postgres_psql_path TEXT Name or or path to postgres client binary
7374
(psql).
75+
7476
--postgres_database_user TEXT Postgres username for managed development
7577
databases.
78+
7679
--postgres_database_host TEXT Postgres host name for managed development
7780
databases.
81+
7882
--postgres_database_port TEXT Postgres port for managed development
7983
databases.
84+
8085
--docker_cmd TEXT Command used to launch docker (defaults to
8186
docker).
87+
8288
--docker_sudo / --no_docker_sudo
8389
Flag to use sudo when running docker.
8490
--docker_host TEXT Docker host to target when executing docker
8591
commands (defaults to localhost).
92+
8693
--docker_sudo_cmd TEXT sudo command to use when --docker_sudo is
8794
enabled (defaults to sudo).
95+
8896
--help Show this message and exit.
8997

0 commit comments

Comments
 (0)