From b5997ddf345f43ace075d34debbd60d707870d7b Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Thu, 17 Apr 2025 12:31:14 +0200 Subject: [PATCH] TestKit: check package build is free of errors and warnings --- testkit/build.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testkit/build.py b/testkit/build.py index 50b5af537..e56edaa7c 100644 --- a/testkit/build.py +++ b/testkit/build.py @@ -20,7 +20,11 @@ if __name__ == "__main__": - run_python(["-m", "pip", "install", "-U", "pip"], warning_as_error=False) + run_python( + ["-m", "pip", "install", "-U", "pip", "build"], + warning_as_error=False, + ) + run_python(["-m", "build", "."], warning_as_error=True) run_python( ["-m", "pip", "install", "-Ur", "requirements-dev.txt"], warning_as_error=False,