@@ -127,20 +127,20 @@ jobs:
127127 uv pip install -U git+https://github.com/google-deepmind/dm-haiku.git
128128 # temporary: install jax nightly
129129 uv pip install -U --pre jax jaxlib -i https://us-python.pkg.dev/ml-oss-artifacts-published/jax/simple/
130- uv run tests/run_all_tests.sh --only-doctest
130+ uv run --no-sync tests/run_all_tests.sh --only-doctest --use-venv
131131 elif [[ "${{ matrix.test-type }}" == "pytest" ]]; then
132132 uv pip install -U tensorflow-datasets
133133 # temporary: install jax nightly
134134 uv pip install -U --pre jax jaxlib -i https://us-python.pkg.dev/ml-oss-artifacts-published/jax/simple/
135- uv run tests/run_all_tests.sh --only-pytest
135+ uv run --no-sync tests/run_all_tests.sh --only-pytest --use-venv
136136 elif [[ "${{ matrix.test-type }}" == "pytype" ]]; then
137- # temporary: install jax nightly
137+ # temporary: install jax nightly
138138 uv pip install -U --pre jax jaxlib -i https://us-python.pkg.dev/ml-oss-artifacts-published/jax/simple/
139- uv run tests/run_all_tests.sh --only-pytype
139+ uv run --no-sync tests/run_all_tests.sh --only-pytype --use-venv
140140 elif [[ "${{ matrix.test-type }}" == "mypy" ]]; then
141141 # temporary: install jax nightly
142142 uv pip install -U --pre jax jaxlib -i https://us-python.pkg.dev/ml-oss-artifacts-published/jax/simple/
143- uv run tests/run_all_tests.sh --only-mypy
143+ uv run --no-sync tests/run_all_tests.sh --only-mypy --use-venv
144144 else
145145 echo "Unknown test type: ${{ matrix.test-type }}"
146146 exit 1
0 commit comments