Skip to content

Commit c8b9176

Browse files
committed
Update test PyPI to add better visibility
1 parent 2412e66 commit c8b9176

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/install-pypi.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,14 @@ jobs:
3636
- name: Install
3737
run: |
3838
pip install --upgrade pip wheel
39-
pip install "${{ matrix.install-target }}" 2>stderr.txt
39+
pip install "${{ matrix.install-target }}"
4040
- name: Check no warnings
4141
if: matrix.os != 'windows-latest'
4242
run: |
43+
# Install and save stderr to file so we can check for missing target errors
44+
# (re-install is a bit stupid,
45+
# but it doesn't actually do anything except emit the warning in practice)
46+
pip install "${{ matrix.install-target }}" 2>stderr.txt
4347
if grep -q "WARN" stderr.txt; then echo "Warnings in pip install output" && cat stderr.txt && exit 1; else exit 0; fi
4448
- name: Get version non-windows
4549
if: matrix.os != 'windows-latest'

0 commit comments

Comments
 (0)