Skip to content

Commit 6dd82e0

Browse files
committed
Add a pip freze to CI job logs
This adds a snapshot of the Python environment to the CI logs for each relevant CI job. This should help when debugging dependency-related issues, as we've got a record of what was installed.
1 parent 6d815c4 commit 6dd82e0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
- name: Install Dependencies
4949
run: pip install -e . -r dev-requirements.txt
5050

51+
- name: Print installed packages
52+
run: pip freeze
53+
5154
- name: Lint with Ruff
5255
run: ruff check .
5356

@@ -92,6 +95,9 @@ jobs:
9295

9396
- name: Install Dependencies
9497
run: pip install -e .[dev]
98+
99+
- name: Print installed packages
100+
run: pip freeze
95101

96102
- name: Lint with Ruff
97103
run: ruff check .
@@ -177,6 +183,9 @@ jobs:
177183
178184
- name: Install LabThings-FastAPI
179185
run: pip install -e ../labthings-fastapi/labthings-fastapi/
186+
187+
- name: Print installed packages
188+
run: pip freeze
180189

181190
- name: Configure Git identity
182191
run: |

0 commit comments

Comments
 (0)