Skip to content

Commit cffe34e

Browse files
authored
TestKit: check package build is free of errors and warnings (#1152)
1 parent 9d1efce commit cffe34e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

testkit/build.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020

2121

2222
if __name__ == "__main__":
23-
run_python(["-m", "pip", "install", "-U", "pip"], warning_as_error=False)
23+
run_python(
24+
["-m", "pip", "install", "-U", "pip", "build"],
25+
warning_as_error=False,
26+
)
27+
run_python(["-m", "build", "."], warning_as_error=True)
2428
run_python(
2529
["-m", "pip", "install", "-Ur", "requirements-dev.txt"],
2630
warning_as_error=False,

0 commit comments

Comments
 (0)