Skip to content

Commit

Permalink
use uv for python version
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-vuillemot committed Oct 20, 2024
1 parent 7429fdb commit b491074
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/azure-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true

- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Install the project
run: uv sync --all-extras --dev
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _del_data():
for i in range(100):
key = f"{key_pattern}{i}"
assert db[key] == f"{data_pattern}{i}"
del db[f"{key_pattern}{i}"]
del db[key]

assert len(db) == 0
db.close()
Expand Down

0 comments on commit b491074

Please sign in to comment.