From b21e9d266fa889fc566a7d9c2e294c0228d3e0a6 Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Wed, 23 Apr 2025 12:52:04 +0000 Subject: [PATCH] TestKit: check package build is free of errors and warnings (#1152) --- 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,