Skip to content

Cicd code coverage addition megan azmanov#10

Merged
GabrielaBerimbau merged 9 commits into
mainfrom
CICD-CodeCoverageAddition-MeganAzmanov
May 13, 2026
Merged

Cicd code coverage addition megan azmanov#10
GabrielaBerimbau merged 9 commits into
mainfrom
CICD-CodeCoverageAddition-MeganAzmanov

Conversation

@Megan235
Copy link
Copy Markdown
Contributor

@Megan235 Megan235 commented May 13, 2026

Summary

  • Sets up code coverage enforcement across all three services, replaces Hibernate's auto schema management with Flyway migrations, locks in the engine, backend communication model (engine never touches the DB directly), adds pgAdmin for local database access, and scaffolds the full feature-based folder structure for the six core use cases (Login, Signup, PreferenceProfile, Pantry, Dashboard, Recipe Vault).

What's included

  • Database- Flyway now owns the schema, migration files live in database/ at the repo root, Hibernate set to validate only
  • Code coverage- JaCoCo (backend), pytest-cov (engine), Flutter coverage with lcov filtering, all enforced at 80% with per-service flags on Codecov
  • Engine architecture- talks to the backend via HTTP
  • pgAdmin- optional tools profile in Docker Compose, accessible at localhost:5050
  • File structure -feature-based packages (auth, pantry, preference, vault) on the backend, matching core/features/shared/ layout on the frontend

to note

  • pom.xml has exclusions for code coverage, this will have to be removed as backend features developed (this is to allow scaffolding empty files to pass)
  • Engine is excluded from code coverage and will be added in a later sprint
  • Flutter has placeholder tests for ci to pass to allow for scaffolding files.

@github-actions github-actions Bot added frontend Work to be completed on the frontend backend engine infrastructure labels May 13, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@GabrielaBerimbau
Copy link
Copy Markdown
Contributor

Awesome work Megs, thank you. Next step is setting up all the branches

@GabrielaBerimbau GabrielaBerimbau merged commit 6880aeb into main May 13, 2026
13 checks passed
@Megan235 Megan235 deleted the CICD-CodeCoverageAddition-MeganAzmanov branch May 13, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend engine frontend Work to be completed on the frontend infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants