Skip to content

Commit 4fe1e83

Browse files
Add tests for CI quality gate workflow
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent 8681619 commit 4fe1e83

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
from pathlib import Path
2+
3+
4+
def test_ci_workflow_includes_architecture_guard_job():
5+
ci_workflow = Path(".github/workflows/ci.yml").read_text(encoding="utf-8")
6+
7+
assert "architecture-guards:" in ci_workflow
8+
assert "run: make architecture-check" in ci_workflow
9+
10+
11+
def test_ci_workflow_uses_make_targets_for_quality_gates():
12+
ci_workflow = Path(".github/workflows/ci.yml").read_text(encoding="utf-8")
13+
14+
assert "run: make lint" in ci_workflow
15+
assert "run: make format-check" in ci_workflow
16+
assert "run: make compile" in ci_workflow
17+
assert "run: make test" in ci_workflow
18+
assert "run: make build" in ci_workflow

0 commit comments

Comments
 (0)