From 02356d08013f734159c814f7155a17fc4f639b5b Mon Sep 17 00:00:00 2001 From: Shay Margolis Date: Sun, 24 Nov 2024 12:38:41 +0200 Subject: [PATCH] github: workflows: Use UV instead of PIP --- .github/workflows/build-test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 6b5ebd5..2c7d455 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -22,8 +22,9 @@ jobs: python -m venv .venv . .venv/bin/activate pip install --upgrade pip - pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install uv + uv pip install flake8 pytest + if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi - name: Archive virtualenv run: tar czf venv.tar.gz .venv - name: Upload virtualenv artifact