From c7c790623c3b91fc07a05a615784ee27d2253fed Mon Sep 17 00:00:00 2001 From: evilchili Date: Mon, 25 Mar 2024 23:54:46 -0700 Subject: [PATCH] install before running pytest --- src/poetry_slam/build_tool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/poetry_slam/build_tool.py b/src/poetry_slam/build_tool.py index fec55ea..efb9614 100644 --- a/src/poetry_slam/build_tool.py +++ b/src/poetry_slam/build_tool.py @@ -79,10 +79,10 @@ class BuildTool: def build(self) -> bool: print("Formatting...") success = self.auto_format() - print("Testing...") - success += self.test([]) print("Installing...") success += self.install() + print("Testing...") + success += self.test([]) print("Building...") success += self.run_with_poetry("build") return success