jerry-git / jerry-git/pytest-split

Splitting tests with awareness of skips

Abierto
#110 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
325
Forks
56
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

No files or tests are named. Reproduce the CPU configuration with pytest.mark.skipif and multiple splits, compare it with the GPU run, and inspect the splitter's handling of skipped tests and durations. Done means CPU splits are non-empty without requiring a separate durations file.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
testing
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.