Skip to content

Commit

Permalink
needs another needs_tests() call before test()
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm committed Jan 30, 2025
1 parent 218a379 commit 4c81479
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def post_build(env):
return env.project.post_build(env)

def test(env):
return env.project.test(env)
if env.project.needs_tests(env):
return env.project.test(env)

def install(env):
return env.project.install(env)
Expand Down

0 comments on commit 4c81479

Please sign in to comment.