Skip to content

Commit

Permalink
Merge pull request #150 from gisce/force_base_tests_for_core_changes_…
Browse files Browse the repository at this point in the history
…in_pull_requests

Force to execute base module tests for core changes
  • Loading branch information
polsala authored Apr 24, 2024
2 parents 82f2586 + b620773 commit 7754a96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions destral/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ def destral(modules, tests, all_tests=None, enable_coverage=None,
module = detect_module(path)
if module and module not in modules_to_test:
modules_to_test.append(module)
if not modules_to_test:
modules_to_test = ['base']
else:
modules_to_test = modules[:]

Expand Down

0 comments on commit 7754a96

Please sign in to comment.