Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/_required.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ jobs:
name: unit-tests
runs-on: ubuntu-24.04
timeout-minutes: 15
needs: lint
permissions:
contents: read
steps:
Expand Down
Empty file added tests/smoke/__init__.py
Empty file.
15 changes: 15 additions & 0 deletions tests/smoke/test_required_workflow_properties.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from pathlib import Path

WORKFLOW = Path(__file__).parent.parent.parent / ".github" / "workflows" / "_required.yml"


def test_required_workflow_exists() -> None:
assert WORKFLOW.exists(), f"Workflow file not found: {WORKFLOW}"


def test_unit_tests_job_invokes_pytest() -> None:
content = WORKFLOW.read_text()
assert "pytest" in content, (
"unit-tests job in _required.yml does not invoke pytest — "
"test regressions will reach main undetected"
)
Loading