mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Dump pip freeze in CI (#132173)
* Dump pip freeze in CI * adjust * adjust * adjust * Include python version
This commit is contained in:
parent
7c9b8552cb
commit
6fc4f45def
18
.github/workflows/ci.yaml
vendored
18
.github/workflows/ci.yaml
vendored
@ -485,7 +485,6 @@ jobs:
|
|||||||
uses: actions/cache@v4.1.2
|
uses: actions/cache@v4.1.2
|
||||||
with:
|
with:
|
||||||
path: venv
|
path: venv
|
||||||
lookup-only: true
|
|
||||||
key: >-
|
key: >-
|
||||||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
|
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
|
||||||
needs.info.outputs.python_cache_key }}
|
needs.info.outputs.python_cache_key }}
|
||||||
@ -531,6 +530,23 @@ jobs:
|
|||||||
python -m script.gen_requirements_all ci
|
python -m script.gen_requirements_all ci
|
||||||
uv pip install -r requirements_all_pytest.txt -r requirements_test.txt
|
uv pip install -r requirements_all_pytest.txt -r requirements_test.txt
|
||||||
uv pip install -e . --config-settings editable_mode=compat
|
uv pip install -e . --config-settings editable_mode=compat
|
||||||
|
- name: Dump pip freeze
|
||||||
|
run: |
|
||||||
|
python -m venv venv
|
||||||
|
. venv/bin/activate
|
||||||
|
python --version
|
||||||
|
uv pip freeze >> pip_freeze.txt
|
||||||
|
- name: Upload pip_freeze artifact
|
||||||
|
uses: actions/upload-artifact@v4.4.3
|
||||||
|
with:
|
||||||
|
name: pip-freeze-${{ matrix.python-version }}
|
||||||
|
path: pip_freeze.txt
|
||||||
|
overwrite: true
|
||||||
|
- name: Remove pip_freeze
|
||||||
|
run: rm pip_freeze.txt
|
||||||
|
- name: Check dirty
|
||||||
|
run: |
|
||||||
|
./script/check_dirty
|
||||||
|
|
||||||
hassfest:
|
hassfest:
|
||||||
name: Check hassfest
|
name: Check hassfest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user