Skip to content

Commit

Permalink
CI: Try to use "uv" to speed-up package installations.
Browse files Browse the repository at this point in the history
  • Loading branch information
jenisys committed May 26, 2024
1 parent eb5d3fb commit 3e51dda
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,18 @@ jobs:
# -- DISABLED:
# - name: Show Python version
# run: python --version
# -- SPEED-UP: Use "uv" to speed up installation of package dependencies.
- name: Install uv
run: python -m pip install -U uv
- name: Install Python package dependencies
run: |
python -m pip install -U pip setuptools wheel
pip install --upgrade -r py.requirements/ci.github.testing.txt
pip install -e .
python -m uv pip install -U pip setuptools wheel
python -m uv pip install --upgrade -r py.requirements/ci.github.testing.txt
python -m uv pip install -e .
# -- OLD:
# python -m pip install -U pip setuptools wheel
# pip install --upgrade -r py.requirements/ci.github.testing.txt
# pip install -e .
- name: Run tests
run: pytest
- name: Run behave tests
Expand Down

0 comments on commit 3e51dda

Please sign in to comment.