Skip to content

Commit 8a94976

Browse files
committed
github workflows: update unit test job to use uv and ruff
1 parent 42234b3 commit 8a94976

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/unittests.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ jobs:
1616
python-version: 3.7
1717
- name: Install dependencies
1818
run: |
19-
python -m pip install --upgrade pip
20-
pip install .
21-
pip install -e .[test]
22-
- name: Lint with flake8
19+
sudo apt install pipx
20+
pipx install uv
21+
- name: Check formatting with ruff
2322
run: |
24-
tox -e pep8
23+
uvx ruff format --diff
24+
- name: Lint with ruff
25+
run: |
26+
uvx ruff check
2527
- name: Run unit tests
2628
run: |
27-
tox -e py37
29+
uv run pytest

0 commit comments

Comments
 (0)