Skip to content

Commit 8c721cc

Browse files
committed
Fix style error
1 parent 3bb563a commit 8c721cc

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

.github/actions/tests/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ jobs:
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

tests/conftest.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
import os
21
from dataclasses import dataclass
32
from typing import Annotated
43

54
import pytest
6-
from redis import Redis
7-
85
from 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

0 commit comments

Comments
 (0)