Skip to content

Commit a722e0c

Browse files
committed
Add subworkflow test
1 parent bca618f commit a722e0c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from ..test_lint import TestLint
2+
3+
4+
class TestLintSubworkflowsJson(TestLint):
5+
def test_subworkflows_json_pass(self):
6+
self.lint_obj._load()
7+
results = self.lint_obj.subworkflows_json()
8+
assert len(results.get("warned", [])) == 0
9+
assert len(results.get("failed", [])) == 0
10+
assert len(results.get("passed", [])) > 0

0 commit comments

Comments
 (0)