File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ runs:
1212 uses : actions/setup-python@v5
1313 with :
1414 python-version : ${{ inputs.python-version }}
15- cache : pip
15+
16+ - name : Install uv
17+ uses : astral-sh/setup-uv@v7
1618
1719 - name : Install dependencies
1820 shell : bash -euxo pipefail {0}
19- run : |
20- python -m pip install --upgrade pip
21- pip install -e .[tests]
21+ run : uv sync --extra tests
2222
2323 - name : Set up Rust
2424 uses : dtolnay/rust-toolchain@stable
Original file line number Diff line number Diff line change 2222 - uses : actions/setup-python@v5
2323 with :
2424 python-version : " 3.13"
25+ - name : Install uv
26+ uses : astral-sh/setup-uv@v7
2527 - run : |
26- pip install -e .[ dev]
28+ uv sync --extra dev
2729 scripts/check-prettier.sh
2830 ruff check .
2931 cargo fmt --all -- --check
Original file line number Diff line number Diff line change 1- import os
21from dataclasses import dataclass
32from typing import Annotated
43
54import pytest
6- from redis import Redis
7-
85from fluxqueue import FluxQueue
9-
10- REDIS_VERSION = os .getenv ("REDIS_VERSION" ) if os .getenv ("REDIS_VERSION" ) else "latest"
6+ from redis import Redis
117
128
139@dataclass
You can’t perform that action at this time.
0 commit comments