Skip to content

Commit

Permalink
chore: use UV venv
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancetnik committed Jul 10, 2024
1 parent 7ad12b7 commit c24a128
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/pr_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,18 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.9
- uses: yezz123/setup-uv@v4
- name: Install Dependencies and library
shell: bash

- name: Install dependencies
run: |
set -ux
python -m pip install uv
uv venv
uv pip install -e ".[lint]"
- name: Activate virtualenv
run: |
. .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
- name: Run ruff
shell: bash
Expand Down

0 comments on commit c24a128

Please sign in to comment.