Skip to content

ci: add automated quality checks - #5

Open
asimawdah wants to merge 1 commit into
OpenSelfHosting:mainfrom
asimawdah:ci/python-server-validation
Open

asimawdah wants to merge 1 commit into
OpenSelfHosting:mainfrom
asimawdah:ci/python-server-validation

Conversation

@asimawdah

Copy link
Copy Markdown
Member

Why

Introduce automated validation for the OpenKey Server to catch Python syntax errors, dependency conflicts, and Docker build failures before changes are merged.

What changed

  • Added a GitHub Actions workflow using Python 3.12.
  • Trigger CI on pushes and pull requests targeting "main".
  • Install project dependencies from "requirements.txt".
  • Compile Python application modules using "python -m compileall".
  • Validate installed dependencies using "pip check".
  • Build the production Docker image.
  • Added read-only workflow permissions.
  • Added concurrency controls to cancel outdated workflow runs.
  • Added manual workflow execution support.

Versioning

  • Breaking protocol change
  • Breaking TS/JS API change

No API endpoints, authentication behavior, database schema, or application logic were changed.

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