jerry-git / jerry-git/pytest-split
Splitting tests with awareness of skips
- Langage dominant
- Python
- Étoiles
- 325
- Forks
- 56
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Aucun fichier ni test n'est nommé. Reproduisez la configuration CPU avec pytest.mark.skipif et plusieurs splits, comparez-la à l'exécution sur GPU et examinez la gestion par le splitter des tests ignorés et des durées. C'est terminé lorsque les splits CPU ne sont pas vides sans nécessiter de fichier de durées séparé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- testing
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100