Skip to content

Commit

Permalink
Use uv to accelerate dependency installation on CI
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
  • Loading branch information
astrojuanlu committed Feb 26, 2024
1 parent 9ec96fb commit a1dab06
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/kedro-datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ jobs:
path: ~/.cache/pip
key: kedro-datasets-ubuntu-latest-python-"3.9"
restore-keys: kedro-datasets
- name: Install uv
run: |
python -m pip install "uv==0.1.10"
- name: Install dependencies
run: |
python -m pip install -U "pip>=21.2,<23.2" # Temporary fix
cd kedro-datasets
pip install ".[docs,test]"
VIRTUAL_ENV=${Python_ROOT_DIR} uv pip install "kedro-datasets[docs,test] @ ."
- name: Documentation check for kedro-datasets
run: |
make plugin=kedro-datasets check-docs

0 comments on commit a1dab06

Please sign in to comment.