Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Improve CI Pipelines: Linting, Formatting, Pre-commits, and Testing

Aperta
#458 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@sahilds1 ci sta già lavorando.

Dal 8/7/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Documentation

The current CI workflows in .github/workflows/frontend-ci.yml and .github/workflows/python-app.yml are missing several critical quality checks.

Proposed Improvements:
1. Frontend (frontend-ci.yml)
  • Strict Checks: Remove continue-on-error: true from Lint and Build steps so that PRs cannot be merged with failures.
  • Formatting: Add a step to verify formatting using Prettier (e.g., npx prettier --check .).
  • Testing: Add a step to run tests if any exist (e.g., npm test).
  • Dependency Cache: Ensure Node.js cache is working correctly (already present but should be verified).
2. Python Backend (python-app.yml)
  • Formatting: Add Ruff formatting check (ruff format --check).
  • Testing: Add a step to run Django tests (python manage.py test).
  • Branch Triggers: Update branch triggers to include develop or the main branch (currently points to listOfMed).
  • Linting: Improve Ruff linting configuration or ensure it's running with the desired rules.
3. General Enhancements
  • Pre-commit Hooks: Integrate pre-commit into CI to ensure all hooks pass before merging.
  • Consistency: Align branch triggers across all CI workflows.
Why is this needed?

To ensure code quality, consistency, and prevent regressions from being merged into the main branches.

Lingua principale
TypeScript
Stelle
21
Fork
18
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CodeForPhilly/balancer-main

Tutte le issue di CodeForPhilly/balancer-main

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.