googleapis / googleapis/google-cloud-python

Update the noxfiles with performance enhancements to support debugging.

Abierto
#16,202 1 comentario 0 reacciones 1 asignado Reclamado por @ohmayr Ver en GitHub
priority: p2 type: process
Lenguaje dominante
Python
Estrellas
5.4k
Forks
1.8k
Merge medio
3 d 4 h
PR fusionados (30 d)
122

Descripción

Update the noxfiles with performance enhancements to support debugging.

* Add `session.run('python', '-m', 'pip', 'freeze')` immediately after the last `session.install()` call in each session.
* Add `*session.posargs,` as the last item in session.run() that launch `pytest`.
This allows calls such as `nox -s unit -- -vv` to produce verbose test results OR `nox -s unit -- --lf` to only execute the tests that failed in the last session.

Consider whether a similar `*session.posargs,` would be beneficial in any of the other sessions to selectively allow us to feed args to tools like `black`, `ruff`, etc)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.