Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ concurrency:

permissions: {}

env:
# Disable default package installs. Each job should explicitly install a group.
UV_NO_SYNC: "1"

jobs:
lint:
timeout-minutes: 10
runs-on: ubuntu-latest
permissions:
contents: read # For checkout
env:
UV_NO_SYNC: "1" # Disable installing default packages on `uv run`

steps:
- name: Checkout
Expand Down Expand Up @@ -111,6 +113,8 @@ jobs:
- name: Set PYTHON_GIL=0 for free-threading builds
if: ${{ endsWith(matrix.pyver, 't') }}
run: echo "PYTHON_GIL=0" >> $GITHUB_ENV
- name: Install dependencies
run: uv sync --group tests --frozen
- name: Run tests
run: uv run pytest --numprocesses=3 --cov=dimos/ --junitxml=junit.xml -m 'not (tool or self_hosted or mujoco)'
- name: Re-run the failing tests with maximum verbosity
Expand Down Expand Up @@ -146,7 +150,6 @@ jobs:
github.event.pull_request.head.repo.full_name == github.repository
)
env:
UV_NO_SYNC: "1" # Disable installing default packages on `uv run`
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
ALIBABA_API_KEY: ${{ secrets.ALIBABA_API_KEY }}
Expand Down
Loading