Skip to content

Add unit tests and enable CI pipeline - #11

Closed
Thierry Damiba (thierrypdamiba) wants to merge 1 commit into
backend-simplifyfrom
feature/adding-tests
Closed

Add unit tests and enable CI pipeline#11
Thierry Damiba (thierrypdamiba) wants to merge 1 commit into
backend-simplifyfrom
feature/adding-tests

Conversation

@thierrypdamiba

Copy link
Copy Markdown

Summary

  • Add API server unit tests (health endpoint, request/response validation)
  • Add domain model tests for GeneRecord, CitationNetwork, and Dataset models
  • Enable GitHub Actions CI workflow with ruff linting, mypy type checking, and pytest
  • Add httpx test dependency for FastAPI TestClient

Test plan

  • All 37 pytest tests pass locally
  • Verify CI workflow runs on GitHub Actions
  • Confirm lint and type checks pass in CI

- Add API server tests (health endpoint, request validation, response models)
- Add domain model tests (GeneRecord, CitationNetwork, Dataset models)
- Enable GitHub Actions CI with ruff lint, mypy type check, and pytest
- Add httpx test dependency for FastAPI TestClient
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