Skip to content

Commit 9f7d38b

Browse files
wxtimMetRonnie
andauthored
Actions: pip list on build failure for debugging (#693)
Co-authored-by: Ronnie Dutta <[email protected]>
1 parent 314293f commit 9f7d38b

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ jobs:
141141
STABLE=${{ inputs.set_stable }} \
142142
LATEST=${{ inputs.set_latest }}
143143
144+
- name: debug - pip list
145+
if: failure()
146+
run: pip list
147+
144148
- name: tidy old versions
145149
working-directory: docs
146150
run: |

.github/workflows/nightly.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ jobs:
152152
FORCE_COLOR=true
153153
git -C gh-pages add "$builddir" 'versions.json'
154154
155+
- name: debug - pip list
156+
if: failure()
157+
run: pip list
158+
155159
- name: push changes
156160
working-directory: gh-pages
157161
run: |

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,7 @@ jobs:
9090
if: failure()
9191
run: |
9292
cat /tmp/sphinx-err* || true # sphinx traceback
93+
94+
- name: debug - pip list
95+
if: failure()
96+
run: pip list

0 commit comments

Comments
 (0)