jerry-git / jerry-git/pytest-split

Splitting tests with awareness of skips

Aperta
#110 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
325
Fork
56
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have two settings for CI

a) run all the tests on GPU
b) run a subset of the tests on CPU the subset is because many tests are decorated with `pytest.mark.skipif(not os.environ['IS_CUDA'])`

when I run b with any number of splits one of them is empty.

Do I need to make a second durations file or is there a way to make the splitter know which tests will be skipped?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.