Skip to content
Merged
Show file tree
Hide file tree
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
40 changes: 3 additions & 37 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,7 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
workspaces: rust

- name: Cache Python virtual environment
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with:
path: .venv
key: venv-${{ runner.os }}-py${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/pyproject.toml', '**/uv.lock', 'rust/**/*.rs', 'rust/**/Cargo.toml') }}
restore-keys: |
venv-${{ runner.os }}-py${{ env.DEFAULT_PYTHON_VERSION }}-

- name: Install dependencies (if not cached)
- name: Install dependencies
run: uv sync --python ${{ env.DEFAULT_PYTHON_VERSION }} --group dev

- name: Check Python formatting
Expand Down Expand Up @@ -82,9 +69,6 @@ jobs:
services:
redis:
image: redis@sha256:4bfd9eca23339865dc14fe75f6d9ae643f714924623978dd2798f1a673b08f43 # redis:7-alpine amd64
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
ports:
- 6379:6379
options: >-
Expand All @@ -96,20 +80,7 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
workspaces: rust

- name: Cache Python virtual environment
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with:
path: .venv
key: venv-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml', '**/uv.lock', 'rust/**/*.rs', 'rust/**/Cargo.toml') }}
restore-keys: |
venv-${{ runner.os }}-py${{ matrix.python-version }}-

- name: Install dependencies (if not cached)
- name: Install dependencies
run: uv sync --python ${{ matrix.python-version }} --group dev

- name: Run tests (PRs)
Expand Down Expand Up @@ -190,12 +161,7 @@ jobs:
exit 1
fi

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
workspaces: rust

- name: Install dependencies (if not cached)
- name: Install dependencies
run: uv sync --python ${{ env.DEFAULT_PYTHON_VERSION }} --group dev

- name: Scan Python dependencies for CVEs
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_load_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,6 @@ def blocking_operation():
pass

elapsed = time.time() - start_time
assert elapsed < 0.05 # Should timeout quickly
assert elapsed < 0.2 # Should timeout quickly (generous for CI jitter)

thread.join()
111 changes: 92 additions & 19 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading