Skip to content

Commit dde2d28

Browse files
committed
test: restore tracked suite and enforce CI test presence
1 parent 4eac5f7 commit dde2d28

26 files changed

Lines changed: 6102 additions & 5 deletions

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
3232
- name: Run unit tests
3333
run: |
34-
if [ -d tests ] && ls tests/test_*.py >/dev/null 2>&1; then
35-
python -m unittest discover -s tests -p "test_*.py" -v
36-
else
37-
echo "No repository tests found; skipping unit tests."
34+
if [ ! -d tests ] || ! ls tests/test_*.py >/dev/null 2>&1; then
35+
echo "Required test suite is missing from repository."
36+
exit 1
3837
fi
38+
python -m unittest discover -s tests -p "test_*.py" -v
3939
4040
docker:
4141
runs-on: ubuntu-latest

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,10 @@ chronicle-ui/coverage/
3939
# Local AI/dev orchestration artifacts
4040
.codex/
4141
_bmad*/
42-
tests/
42+
43+
# Python test/coverage artifacts
44+
.pytest_cache/
45+
.coverage
46+
.coverage.*
47+
coverage.xml
48+
htmlcov/

0 commit comments

Comments
 (0)