Skip to content

Commit

Permalink
Add subworkflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisLeNezet committed Mar 5, 2025
1 parent bca618f commit a722e0c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/pipelines/lint/test_subworkflows_json.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from ..test_lint import TestLint


class TestLintSubworkflowsJson(TestLint):
def test_subworkflows_json_pass(self):
self.lint_obj._load()
results = self.lint_obj.subworkflows_json()
assert len(results.get("warned", [])) == 0
assert len(results.get("failed", [])) == 0
assert len(results.get("passed", [])) > 0

0 comments on commit a722e0c

Please sign in to comment.