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:
Henry Schreiner
2023-06-23 08:29:58 -04:00
committed by GitHub
co-authored by Cosimo Lupo
parent 2b769c9052
commit cee0848b49
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -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])
+1
View File
@@ -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"
+1
View File
@@ -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()