Skip to content

option to fail fast #578

Open
Open
@jtiai

Description

@jtiai

If having configure multiple environments and running them with plain tox-command if environment in the middle fails, rest of the environments are run.

Expected that if one environment fails, rest aren't executed.

Sample tox.ini:

[tox]
envlist = lint,test,build
skipsdist = True

[testenv]
whitelist_externals = sh

[testenv:lint]
commands =
    sh -c "exit 0"

[testenv:test]
commands =
    sh -c "exit 1"

[testenv:build]
commands =
    sh -c "exit 0"

pip list:

pip (9.0.1)
pkg-resources (0.0.0)
pluggy (0.4.0)
py (1.4.34)
setuptools (36.2.7)
tox (2.7.0)
virtualenv (15.1.0)
wheel (0.29.0)

Metadata

Metadata

Assignees

Labels

area:documentationhelp:wantedIssues that have been acknowledged, a solution determined and a PR might likely be accepted.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions