fix: allow access to {wheel} in more places (#1533)
pass {wheel} path to test command so I can use with tox --installpkg
Co-authored-by: Cosimo Lupo <clupo@google.com>
This commit is contained in:
co-authored by
Cosimo Lupo
parent
2b769c9052
commit
cee0848b49
@@ -349,6 +349,7 @@ def build_in_container(
|
||||
build_options.test_command,
|
||||
project=container_project_path,
|
||||
package=container_package_dir,
|
||||
wheel=wheel_to_test,
|
||||
)
|
||||
test_cwd = testing_temp_dir / "test_cwd"
|
||||
container.call(["mkdir", "-p", test_cwd])
|
||||
|
||||
@@ -599,6 +599,7 @@ def build(options: Options, tmp_path: Path) -> None:
|
||||
build_options.test_command,
|
||||
project=Path(".").resolve(),
|
||||
package=build_options.package_dir.resolve(),
|
||||
wheel=repaired_wheel,
|
||||
)
|
||||
|
||||
test_cwd = identifier_tmp_dir / "test_cwd"
|
||||
|
||||
@@ -552,6 +552,7 @@ def build(options: Options, tmp_path: Path) -> None:
|
||||
build_options.test_command,
|
||||
project=Path(".").resolve(),
|
||||
package=options.globals.package_dir.resolve(),
|
||||
wheel=repaired_wheel,
|
||||
)
|
||||
test_cwd = identifier_tmp_dir / "test_cwd"
|
||||
test_cwd.mkdir()
|
||||
|
||||
Reference in New Issue
Block a user