feat: configure GitHub Actions CI for backend and frontend tests with Codecov#8
Merged
earhackerdem merged 2 commits intomasterfrom Mar 21, 2026
Merged
Conversation
- Add test-backend.yml: pytest + coverage with PostgreSQL service and Codecov upload - Add test-frontend.yml: Playwright E2E with backend started in background - Update test-backend.yml to generate coverage XML for Codecov integration - Remove unused legacy workflows (deploy, playwright-docker, pre-commit, etc.) - Include backend refactor (modules structure) and openspec documentation Made-with: Cursor
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 ☂️ |
Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
test-backend.yml: corre tests de pytest con cobertura (PostgreSQL como servicio), generacoverage.xmly lo sube a Codecov viacodecov/codecov-action@v5test-frontend.yml: corre tests E2E de Playwright con Chromium, levanta el backend FastAPI en background y usabun run devcomo webServer automáticamenteConfiguración requerida (manual)
Antes de que Codecov funcione, agregar el secret en GitHub:
CODECOV_TOKEN→ obtenido desde codecov.io al agregar el repositorioTest plan
test-backend.ymlse ejecuta correctamente en CItest-frontend.ymllevanta el backend y corre los tests E2E de PlaywrightMade with Cursor