Files
galaxy/tox.ini
T
Nicola Soranzo 437f51c2a6 Create Python3 virtualenv by default
- Allow specifying Python to use to create virtualenv using GALAXY_PYTHON
  environment variable.
- Integrate Python support docs from https://galaxyproject.org/admin/python/
- Update virtualenv installation to use v16.7.9
2020-02-09 02:54:24 +00:00

49 lines
1.6 KiB
INI

[tox]
# envlist is the list of environments that are tested when `tox` is run without any option
# hyphens in an environment name are used to delimit factors
envlist = check_py3_compatibility, py{27,35}-first_startup, py{27,35}-lint, py35-lint_docstring_include_list, py{27,35}-unit, test_galaxy_packages, validate_test_tools
skipsdist = True
[testenv]
commands =
first_startup: bash .ci/first_startup.sh
lint: bash .ci/flake8_wrapper.sh
lint_docstring: bash .ci/flake8_wrapper_docstrings.sh --exclude
lint_docstring_include_list: bash .ci/flake8_wrapper_docstrings.sh --include
unit: bash run_tests.sh -u
whitelist_externals = bash
passenv = CI
setenv =
first_startup: GALAXY_PYTHON=python
py{35,36,37}-first_startup: GALAXY_VIRTUAL_ENV=.venv3
unit: GALAXY_VIRTUAL_ENV={envdir}
unit: GALAXY_ENABLE_BETA_COMPRESSED_GENBANK_SNIFFING=1
mulled: GALAXY_TEST_INCLUDE_SLOW=1
deps =
lint,lint_docstring,lint_docstring_include_list: -rlib/galaxy/dependencies/pipfiles/flake8/pinned-requirements.txt
unit: mock
unit: mock-ssh-server
[testenv:mulled]
commands = bash run_tests.sh --skip-venv -u test/unit/tool_util/mulled
[testenv:check_py3_compatibility]
commands = bash .ci/check_py3_compatibility.sh
[testenv:check_python_dependencies]
commands = make list-dependency-updates # someday change exit code on this.
whitelist_externals = make
[testenv:mako_count]
commands = bash .ci/check_mako.sh
[testenv:test_galaxy_packages]
commands = bash packages/test.sh
[testenv:validate_test_tools]
commands = bash .ci/validate_test_tools.sh
[testenv:web_controller_line_count]
commands = bash .ci/check_controller.sh