DiamondLightSource / DiamondLightSource/python-copier-template

Optionally fail for slow tests

Aperta
#235 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Jinja
Stelle
25
Fork
10
Merge medio
4h 4m
PR unite (30g)
6

Descrizione

In a number of projects we are adding in CI that will fail unit tests if they take longer than X e.g.
* https://github.com/bluesky/ophyd-async/issues/729
* https://github.com/DiamondLightSource/dodal/issues/1003
* https://github.com/DiamondLightSource/mx-bluesky/issues/663

Given this is used by lots of different repos we should put it in the template for people to use optionally.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating the template's CI and test configuration, then compare the linked projects' slow-test handling. Done means generated projects can optionally enable a configurable failure threshold for slow unit tests without affecting projects that leave the option disabled.

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

Valutazione

Stack tecnologico
python
Ambito
ci-cd, testing-qa, tooling
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.