finished ch17.6 and ch18 intro
Some checks failed
Test Gitea Actions / first (push) Successful in 14s
Test Gitea Actions / check-code (push) Failing after 13s
Test Gitea Actions / test (push) Has been skipped
Test Gitea Actions / documentation-check (push) Has been skipped

This commit is contained in:
2025-03-31 16:32:24 -06:00
parent 1092bec5ad
commit 665215bd19
5 changed files with 208 additions and 6 deletions

View File

@ -91,7 +91,7 @@ jobs:
# Step 2: Run unit and integration tests (excluding documentation tests)
- name: Run Tests
run: cargo test --tests --verbose
run: cd minigrep/ && cargo test --tests --verbose
# name of the job
documentation-check:
@ -121,6 +121,7 @@ jobs:
# Step 3: Check if documentation tests were run
- name: Check for Documentation Tests
run: |
cd minigrep/ &&
DOC_TESTS=$(cargo test --doc --verbose)
if [[ ! "$DOC_TESTS" =~ "running" ]]; then
echo "No documentation tests were run!" && exit 1