Skip to content

Commit 6e53a47

Browse files
committed
Use full paths for commands in smoke_test.py
1 parent 45ded08 commit 6e53a47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

smoke_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,15 @@ def is_running_on_actions() -> bool:
111111
# Run their tests
112112
# make_pyproject(target_dir, templates)
113113
# print((target_dir / "pyproject.toml").read_text())
114-
# test_process = Popen(["tox", "-n", "test"])
114+
# test_process = Popen(["python3", "-m", "tox", "-n", "test"])
115115
# (output, err) = test_process.communicate()
116116
# exit_code = test_process.wait()
117117
# ret |= exit_code
118118

119119
# Test pyp517
120120
# make_pyproject(target_dir, templates)
121121
# print((target_dir / "pyproject.toml").read_text())
122-
# tox_process = Popen(["tox", "-e", "build"])
122+
# tox_process = Popen(["python3", "-m", "tox", "-e", "build"])
123123
# (output, err) = tox_process.communicate()
124124
# exit_code = tox_process.wait()
125125
# ret |= exit_code
@@ -130,12 +130,12 @@ def is_running_on_actions() -> bool:
130130
build_sdist(target_dir / "dist")
131131
build_times.append(time.time() - start_time)
132132

133-
twine_process = Popen(["twine", "check", "dist/*"])
133+
twine_process = Popen(["python3", "-m", "twine", "check", "dist/*"])
134134
(output, err) = twine_process.communicate()
135135
exit_code = twine_process.wait()
136136
ret |= exit_code
137137

138-
check_wheel_process = Popen(["check-wheel-contents", "dist/"])
138+
check_wheel_process = Popen(["python3", "-m", "check_wheel_contents", "dist/"])
139139
(output, err) = check_wheel_process.communicate()
140140
exit_code = check_wheel_process.wait()
141141
ret |= exit_code

0 commit comments

Comments
 (0)