The profiler job's make coverage repeats the slow tests the benchmark-harness job runs

Aperta Adatta ai principianti
#1,300 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
75/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
ci-cd, testing

Direzione di ricerca

Leggi .github/workflows/audits.yml ed esamina i job profiler e benchmark-harness, quindi controlla i target del Makefile e i marcatori dei test lenti che usano. Associa ogni file di test lenti al job che lo esegue e conferma che nessun test lento venga eseguito in entrambi i job. Il lavoro è completato quando il workflow esegue ogni test lento in esattamente un job obbligatorio e un test indica quale job esegue ciascun file di test lenti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

ci enhancement testing

Where: .github/workflows/audits.yml (profiler and benchmark-harness jobs).

Current gap: make coverage runs the whole suite including the slow benchmark tests (5 minutes of the 316 s parallel run), and the benchmark-harness job runs tests/test_metrics.py, test_manifest.py, test_strategies.py and test_benchmark.py again.

Suggested approach: Run the slow tests once: either give the benchmark-harness job the slow marker (and collect their coverage there) or have the profiler job use make coverage-fast, keeping every slow test in exactly one required job.

Done when: no slow test runs in both jobs and a test lists which job runs each slow test file.

Lingua principale
HTML
Stelle
47
Fork
45
Merge medio
2h 50m
PR unite (30g)
85

Preparare l'ambiente

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 yakew7/Fair-Code

Tutte le issue di yakew7/Fair-Code

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.