jerry-git / jerry-git/pytest-split

Split results in 0 selected tests, which leads to failed GitHub action

Aperta
#95 8 commenti 3 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

Hi,

We have integrated `pytest-split` as part of our CI pipeline and noticed the following behaviour.

We were running our tests in 7 splits, but after updating the `.test_durations` script (new tests being added), the 7th split did not select any test. This lead to a failed CI run since all the tests were deselected (see below).

![image](https://github.com/jerry-git/pytest-split/assets/38454520/0a7f76f2-e590-4baa-9de0-d51e1d3be752)

Any idea why this could happen?

We tried to create more splits after this error was raised (increased from 7 to 10) and everything worked fine.

**We would like to understand why the 7th split did not select any test when `--splits 7` but everything worked well when `--splits 10`.**

Thanks in advance. Your package has become very useful in speeding up our CICD pipelines.

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.