@@ -153,6 +153,17 @@ def downstream_test_pyo3(graalpy):
153153 run_in_venv (venv , ['pip' , 'install' , 'nox' ])
154154 run_in_venv (venv , ['nox' , '-s' , 'test-py' ], cwd = src )
155155
156+ @downstream_test ('jiter' )
157+ def downstream_test_jiter (graalpy , testdir ):
158+ run (['git' , 'clone' , 'https://github.com/pydantic/jiter.git' , '-b' , 'main' ], cwd = testdir )
159+ src = testdir / 'jiter'
160+ venv = src / 'venv'
161+ run ([graalpy , '-m' , 'venv' , str (venv )])
162+ run_in_venv (venv , ['pip' , 'install' , '-r' , 'crates/jiter-python/tests/requirements.txt' ], cwd = src )
163+ run_in_venv (venv , ['pip' , 'install' , '-e' , 'crates/jiter-python' ,
164+ '--config-settings=build-args=--profile dev' ], cwd = src )
165+ run_in_venv (venv , ['pytest' , '-v' , '--tb=short' , 'crates/jiter-python/tests' ], cwd = src )
166+ run_in_venv (venv , ['python' , 'crates/jiter-python/bench.py' , 'jiter' , 'jiter-cache' , '--fast' ], cwd = src )
156167
157168def run_downstream_test (python , project ):
158169 DOWNSTREAM_TESTS [project ](python )
0 commit comments