Add Forgejo Actions CI workflow #25

Merged
rbrooks merged 1 commit from ci/forgejo-actions into main 2026-06-23 23:42:13 +00:00
Owner

Adds .forgejo/workflows/ci.yml to run the test suite on every push and PR to main.

Pipeline

  • Python 3.12 (matches the Dockerfile / production runtime)
  • pip install -r requirements-test.txt
  • python -m compileall app
  • pytest -q

Tests use in-memory SQLite (aiosqlite) via the conftest JSONB→JSON patch, so no Postgres service container is required.

This PR also dogfoods the workflow — the CI check on this PR is the first run.

Follow-ups (not in this PR)

  • Make the test check required for merge to main once it has run green here.
  • Enable Renovate automerge for patch/pin/digest dev-dependency updates now that a CI gate exists.

Closes #3

Adds `.forgejo/workflows/ci.yml` to run the test suite on every push and PR to `main`. **Pipeline** - Python 3.12 (matches the Dockerfile / production runtime) - `pip install -r requirements-test.txt` - `python -m compileall app` - `pytest -q` Tests use in-memory SQLite (aiosqlite) via the conftest JSONB→JSON patch, so no Postgres service container is required. This PR also dogfoods the workflow — the CI check on this PR is the first run. **Follow-ups (not in this PR)** - Make the `test` check required for merge to `main` once it has run green here. - Enable Renovate automerge for `patch`/`pin`/`digest` dev-dependency updates now that a CI gate exists. Closes #3
Add Forgejo Actions CI workflow
All checks were successful
CI / test (pull_request) Successful in 3m44s
2963946821
Run the test suite on every push and PR to main:
- Python 3.12 (matches the Dockerfile / production runtime)
- install requirements-test.txt
- python -m compileall app
- pytest -q

Tests use in-memory SQLite (aiosqlite), so no database service is needed.

Closes #3

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
rbrooks deleted branch ci/forgejo-actions 2026-06-23 23:42:13 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rbrooks/WeatherBot!25
No description provided.