openai/openai-python
Publicmirrored from https://github.com/openai/openai-pythonAvailable
noxfile.py
9lines · modeblame
08b8179aDavid Schnurr2 years ago | 1 | import nox |
| 2 | | |
| 3 | | |
| 4 | @nox.session(reuse_venv=True, name="test-pydantic-v1") | |
| 5 | def test_pydantic_v1(session: nox.Session) -> None: | |
| 6 | session.install("-r", "requirements-dev.lock") | |
| 7 | session.install("pydantic<2") | |
| 8 | | |
| 9 | session.run("pytest", "--showlocals", "--ignore=tests/functional", *session.posargs) |