mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 09:36:52 +03:00
Updated tests with the updated github stage names.
This commit is contained in:
parent
db636c8e36
commit
fbc9b89e0d
|
@ -250,7 +250,7 @@ def test_github_invokes_linter_and_pytest(
|
|||
github_config = yaml.safe_load(github_yml)
|
||||
linter_present = False
|
||||
for action_step in github_config["jobs"]["linter"]["steps"]:
|
||||
if action_step.get("run") == "linter":
|
||||
if action_step.get("uses", "NA").startswith("pre-commit"):
|
||||
linter_present = True
|
||||
assert linter_present
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user