Dump pip freeze in CI (#132173)

* Dump pip freeze in CI

* adjust

* adjust

* adjust

* Include python version
This commit is contained in:
epenet 2024-12-03 15:24:05 +01:00 committed by GitHub
parent 7c9b8552cb
commit 6fc4f45def
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -485,7 +485,6 @@ jobs:
uses: actions/cache@v4.1.2
with:
path: venv
lookup-only: true
key: >-
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
needs.info.outputs.python_cache_key }}
@ -531,6 +530,23 @@ jobs:
python -m script.gen_requirements_all ci
uv pip install -r requirements_all_pytest.txt -r requirements_test.txt
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:
name: Check hassfest