Skip to content

Commit

Permalink
Update uv pip install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinKonowalczyk committed Mar 18, 2024
1 parent d677242 commit 41e96a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@ jobs:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh && uv --version

- name: Create virtual environment
run: uv venv && source .venv/bin/activate

- name: Build
run: |
uv pip install --upgrade wheel setuptools build twine
uv pip install --system --upgrade wheel setuptools build twine
python -m build
twine check dist/*
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/test-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,13 @@ jobs:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh && uv --version

- name: Create virtual environment
run: uv venv && source .venv/bin/activate

- name: Install test dependencies
run: |
uv pip install --upgrade wheel setuptools
uv pip install --upgrade coverage pytest black mypy
uv pip install --system --upgrade wheel setuptools
uv pip install --system --upgrade coverage pytest black mypy
- name: Install psll
run: uv pip install "psll @ ."
run: uv pip install --system "psll @ ."

- name: Check with black
run: black --preview --check --verbose .
Expand All @@ -53,7 +50,7 @@ jobs:

- name: Push to coveralls
run: |
uv pip install --upgrade coveralls
uv pip install --system --upgrade coveralls
coveralls debug --service=github
# Performance check
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,13 @@ jobs:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh && uv --version

- name: Create virtual environment
run: uv venv && source .venv/bin/activate

- name: Install test dependencies
run: |
uv pip install --upgrade pip wheel setuptools
uv pip install --upgrade coverage pytest black mypy
uv pip install --system --upgrade pip wheel setuptools
uv pip install --system --upgrade coverage pytest black mypy
- name: Install psll
run: uv pip install "psll @ ."
run: uv pip install --system "psll @ ."

- name: Check with black
run: black --preview --check --verbose .
Expand Down

0 comments on commit 41e96a4

Please sign in to comment.