Skip to content

feat: configure GitHub Actions CI for backend and frontend tests with Codecov#8

Merged
earhackerdem merged 2 commits intomasterfrom
feature/refactorandactions
Mar 21, 2026
Merged

feat: configure GitHub Actions CI for backend and frontend tests with Codecov#8
earhackerdem merged 2 commits intomasterfrom
feature/refactorandactions

Conversation

@earhackerdem
Copy link
Copy Markdown
Owner

Summary

  • Agrega workflow test-backend.yml: corre tests de pytest con cobertura (PostgreSQL como servicio), genera coverage.xml y lo sube a Codecov via codecov/codecov-action@v5
  • Agrega workflow test-frontend.yml: corre tests E2E de Playwright con Chromium, levanta el backend FastAPI en background y usa bun run dev como webServer automáticamente
  • Elimina workflows legacy del template original (deploy, smokeshow, pre-commit, playwright-docker, etc.)

Configuración requerida (manual)

Antes de que Codecov funcione, agregar el secret en GitHub:

  • CODECOV_TOKEN → obtenido desde codecov.io al agregar el repositorio

Test plan

  • Verificar que test-backend.yml se ejecuta correctamente en CI
  • Verificar que la cobertura se sube a Codecov
  • Verificar que test-frontend.yml levanta el backend y corre los tests E2E de Playwright
  • Revisar artifacts generados (htmlcov y playwright-report)

Made with Cursor

- 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
@codecov-commenter
Copy link
Copy Markdown

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 ☂️

@earhackerdem earhackerdem merged commit bad4125 into master Mar 21, 2026
4 of 6 checks passed
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.

2 participants