在 TOX 中,[env] 和 [testenv] 有什么区别?
In TOX, what is the difference between [env] and [testenv]?
我正在修复我的构建中的毒性警告:
"WARNING: test command found but not installed in testenv"
注意:这是一个相关问题,但没有解释:Tox WARNING:test command found but not installed in testenv
当我将 tox.ini 从 [testenv] 更改为 [env] 时,命令 运行 正常,没有警告。
我找不到关于 [env] 与 [testenv] 的任何文档。
是我的环境以某种方式被称为 ENV vs. TESTENV 还是我在指定 [env] 或 ??
时使用 wrapper\parent 环境
感谢您的帮助。
tox
knows nothing 关于 [env]
。从 [testenv]
更改为 [env]
并且 tox
忽略未知部分,因此命令根本不是 运行.
我正在修复我的构建中的毒性警告: "WARNING: test command found but not installed in testenv"
注意:这是一个相关问题,但没有解释:Tox WARNING:test command found but not installed in testenv
当我将 tox.ini 从 [testenv] 更改为 [env] 时,命令 运行 正常,没有警告。
我找不到关于 [env] 与 [testenv] 的任何文档。 是我的环境以某种方式被称为 ENV vs. TESTENV 还是我在指定 [env] 或 ??
时使用 wrapper\parent 环境感谢您的帮助。
tox
knows nothing 关于 [env]
。从 [testenv]
更改为 [env]
并且 tox
忽略未知部分,因此命令根本不是 运行.