Skip to content

ci: add pull_request test gate#2

Merged
ProductOfAmerica merged 1 commit into
mainfrom
docs/ci-and-canary-quoting
May 20, 2026
Merged

ci: add pull_request test gate#2
ProductOfAmerica merged 1 commit into
mainfrom
docs/ci-and-canary-quoting

Conversation

@ProductOfAmerica
Copy link
Copy Markdown
Owner

Closes a real gap: PRs in this repo currently have no automated test verification because refresh.yml only triggers on schedule + workflow_dispatch. SP-A (PR #1) landed with 92 tests passing locally but with an empty status-checks array on the PR.

This adds a tiny .github/workflows/ci.yml that runs python -m unittest discover -s tests -t . -v on every pull_request. Uses discover so any new tests/test_*.py (e.g. tests.test_planting_windows once PR #1 merges) is picked up with no workflow edit.

refresh.yml is intentionally untouched: it stays cron-only because its commit-and-push step is wrong for PR events. Two workflows, two concerns.

Note: this PR's own CI run will exercise the new ci.yml against the existing tests/test_refresh.py only (the SP-A test module lives on the FIE-41 branch / PR #1, not yet on main).

PRs in this repo currently have no automated test verification: refresh.yml triggers on schedule + workflow_dispatch only. This adds a minimal ci.yml that runs python -m unittest discover -s tests -t . on every pull_request, so future test modules (e.g. tests.test_planting_windows landing in FIE-41 / PR #1) are picked up automatically without further workflow edits.
@ProductOfAmerica ProductOfAmerica merged commit 9a395ee into main May 20, 2026
1 check passed
@ProductOfAmerica ProductOfAmerica deleted the docs/ci-and-canary-quoting branch May 20, 2026 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant