Skip to content
Merged
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
15 changes: 15 additions & 0 deletions .github/workflows/github-backup-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ name: github-backup tests
# Python. The remaining tests shell out to the real git CLI, which the
# runner image provides.
#
# The queue Worker's own suite (worker/test/index.test.mjs, #6085 —
# auth + KV pagination) is a node --test file, not part of the Python
# glob; it runs in its own step below with the same fail-if-missing
# discipline, so it cannot silently drop out of CI either.
#
# Trigger policy matches the house pattern since 5a94833ea3:
# dispatch/schedule only, no push/pull_request triggers. The schedule
# is daily at 04:47 UTC (off the hour, clear of the other dailies);
Expand Down Expand Up @@ -86,3 +91,13 @@ jobs:
exit 1
fi
echo "github-backup regression suite: all $count files passed."

- name: Run the github-backup Worker tests (node --test)
run: |
test_file="infra/github-backup/worker/test/index.test.mjs"
if [ ! -f "$test_file" ]; then
echo "::error::Worker test file missing: $test_file — the suite was not run."
exit 1
fi
node --test "$test_file"
echo "github-backup Worker tests passed."
Loading