You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where DO_COVERAGE is evaluated, and used if "truthy". Expression evaluation gets tricky. If supported, it should probably be based on Python expressions so it is cross platform. In this case true -> True.
Since tox have more of a "declarative" syntax it is not really feasible to do condtionals based on environment variables. Instead creating a new environment in tox and selecting that environment on the appropriate platform (such as CI or local) with -e flag, is easier. See this as an example implementation.
This add-on will be adapted from https://stackoverflow.com/a/33012308/1539918 and will allow to conditionally execute a command based on the value of env. variable.
Motivation
Perform conditional execution of command with tox. See NeurodataWithoutBorders/pynwb#245
Usage
Example of use:
The text was updated successfully, but these errors were encountered: