mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-22 19:05:49 +00:00
Updated tests with the updated github stage names.
This commit is contained in:
parent
db636c8e36
commit
fbc9b89e0d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue