File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,14 +11,16 @@ concurrency:
1111
1212permissions : {}
1313
14+ env :
15+ # Disable default package installs. Each job should explicitly install a group.
16+ UV_NO_SYNC : " 1"
17+
1418jobs :
1519 lint :
1620 timeout-minutes : 10
1721 runs-on : ubuntu-latest
1822 permissions :
1923 contents : read # For checkout
20- env :
21- UV_NO_SYNC : " 1" # Disable installing default packages on `uv run`
2224
2325 steps :
2426 - name : Checkout
@@ -104,6 +106,8 @@ jobs:
104106 - name : Set PYTHON_GIL=0 for free-threading builds
105107 if : ${{ endsWith(matrix.pyver, 't') }}
106108 run : echo "PYTHON_GIL=0" >> $GITHUB_ENV
109+ - name : Install dependencies
110+ run : uv sync --group tests --frozen
107111 - name : Run tests
108112 run : uv run pytest --numprocesses=3 --cov=dimos/ --junitxml=junit.xml -m 'not (tool or self_hosted or mujoco or dimsim)'
109113 - name : Re-run the failing tests with maximum verbosity
@@ -139,7 +143,6 @@ jobs:
139143 github.event.pull_request.head.repo.full_name == github.repository
140144 )
141145 env :
142- UV_NO_SYNC : " 1" # Disable installing default packages on `uv run`
143146 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
144147 ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
145148 ALIBABA_API_KEY : ${{ secrets.ALIBABA_API_KEY }}
You can’t perform that action at this time.
0 commit comments