Build only one universal wheel when running tox (#1154)
* Build only one universal wheel when running tox Sadly, hatch-autorun and tox seem to be fighting over env variables so we create the pth file by hand. * Simplify * Configure pkg build env Co-authored-by: Bernát Gábor <690238+gaborbernat@users.noreply.github.com> --------- Co-authored-by: Bernát Gábor <690238+gaborbernat@users.noreply.github.com>
This commit is contained in:
parent
a074923138
commit
e920b7b08e
7
tox.ini
7
tox.ini
|
@ -11,7 +11,14 @@ env_list =
|
||||||
coverage-report
|
coverage-report
|
||||||
|
|
||||||
|
|
||||||
|
[testenv:.pkg]
|
||||||
|
pass_env =
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION
|
||||||
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
package = wheel
|
||||||
|
wheel_build_env = .pkg
|
||||||
extras = tests
|
extras = tests
|
||||||
commands = pytest {posargs:-n auto}
|
commands = pytest {posargs:-n auto}
|
||||||
pass_env =
|
pass_env =
|
||||||
|
|
Loading…
Reference in New Issue