mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Simplify UV install in CI (#113803)
This commit is contained in:
parent
18ef76a018
commit
5230a8a210
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -243,7 +243,7 @@ jobs:
|
|||||||
python -m venv venv
|
python -m venv venv
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
python --version
|
python --version
|
||||||
pip install "$(cat requirements_test.txt | grep uv)"
|
pip install "$(grep '^uv' < requirements_test.txt)"
|
||||||
uv pip install "$(cat requirements_test.txt | grep pre-commit)"
|
uv pip install "$(cat requirements_test.txt | grep pre-commit)"
|
||||||
- name: Restore pre-commit environment from cache
|
- name: Restore pre-commit environment from cache
|
||||||
id: cache-precommit
|
id: cache-precommit
|
||||||
@ -493,7 +493,7 @@ jobs:
|
|||||||
python -m venv venv
|
python -m venv venv
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
python --version
|
python --version
|
||||||
pip install "$(cat requirements_test.txt | grep uv)"
|
pip install "$(grep '^uv' < requirements_test.txt)"
|
||||||
uv pip install -U "pip>=21.3.1" setuptools wheel
|
uv pip install -U "pip>=21.3.1" setuptools wheel
|
||||||
uv pip install -r requirements_all.txt
|
uv pip install -r requirements_all.txt
|
||||||
uv pip install -r requirements_test.txt
|
uv pip install -r requirements_test.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user