googleapis / googleapis/google-cloud-python
Update the noxfiles with performance enhancements to support debugging.
未关闭
priority: p2
type: process
- 主要语言
- Python
- 星标
- 5.4k
- 派生
- 1.8k
- 平均合并
- 2 天 23 小时
- 30 天内合并 PR
- 123
描述
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)
贡献指南
评估
这个 Issue 还没有评估数据。