Skip to content

Commit b5f92c0

Browse files
committed
chore: Update GitHub Actions workflow to use uv for dependency installation and linting
1 parent 91ba7fc commit b5f92c0

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,12 @@ jobs:
3131
- name: Install dependencies
3232
run: |
3333
python -m pip install --upgrade pip
34-
python -m pip install poetry flake8
35-
poetry install --no-root --with dev
34+
python -m pip install uv
35+
uv sync --all-groups
3636
37-
- name: Lint with flake8
37+
- name: Lint with ruff
3838
run: |
39-
# stop the build if there are Python syntax errors or undefined names
40-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
39+
uv run ruff check .
4140
4241
- name: Set up test database
4342
uses: harmon758/postgresql-action@v1
@@ -49,4 +48,4 @@ jobs:
4948

5049
- name: Run tests
5150
run: |
52-
poetry run pytest --pylama
51+
uv run pytest

0 commit comments

Comments
 (0)