Set up CI/CD pipeline (lint, test, docker build) #5

Open
opened 2025-09-23 14:37:21 +00:00 by boris · 1 comment
Owner

As a maintainer, I want automated linting, testing, migrations, and Docker builds so that the project remains healthy and contributions are safe to merge.

Given a PR targeting main, when CI runs, then:

  • Ruff lint passes (no errors).

  • Black format check passes.

  • Postgres service starts; Alembic runs upgrade head successfully using split env vars.

  • Pytest runs and passes at least the health/key tests.

  • Docker image builds successfully.

  • Given a failing test or migration, when CI runs, then the job fails with clear logs.

  • Status badge visible in README.

  • Cache pip and Docker layers for speed.

  • Job completes in < 10 minutes.

As a maintainer, I want automated linting, testing, migrations, and Docker builds so that the project remains healthy and contributions are safe to merge. Given a PR targeting main, when CI runs, then: - [x] Ruff lint passes (no errors). - [x] Black format check passes. - [x] Postgres service starts; Alembic runs upgrade head successfully using split env vars. - [x] Pytest runs and passes at least the health/key tests. - [x] Docker image builds successfully. - [ ] Given a failing test or migration, when CI runs, then the job fails with clear logs. - [x] Status badge visible in README. - [ ]Cache pip and Docker layers for speed. - [ ] Job completes in < 10 minutes.
boris added this to the Minimum Viable Product milestone 2025-09-23 14:37:21 +00:00
boris added the
Kind/Testing
Priority
Medium
3
labels 2025-09-23 14:37:21 +00:00
boris self-assigned this 2025-09-23 14:37:21 +00:00
boris added this to the Keywarden project 2025-09-23 14:37:21 +00:00
boris moved this to In Progress in Keywarden on 2025-09-23 14:37:23 +00:00
Author
Owner

Created simple pipeline for GitHub runner. Unclean but works.

Need to set up Gitea runner for better speed

Created simple pipeline for GitHub runner. Unclean but works. Need to set up Gitea runner for better speed
boris moved this to Review in Keywarden on 2025-10-07 14:13:28 +00:00
Sign in to join this conversation.
No description provided.