Skip to content

Commit 526ce84

Browse files
committed
tweak how installed file sizes are checked
1 parent 19f350f commit 526ce84

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,14 @@ jobs:
3939
- name: Check metadata verification
4040
run: python -m twine check --strict dist/*
4141

42-
- name: Ensure that the wheel installs correctly, and show installed size
42+
- name: Ensure that the wheel installs successfully
4343
run: |
44-
pip install $(find dist -type f -name "*.whl")
45-
du -h $(python -c "import pvlib; print(pvlib.__path__[0])")
46-
44+
mkdir ./tmp
45+
pip install $(find dist -type f -name "*.whl") --target=./tmp
46+
47+
- name: List installed file sizes
48+
du -h ./tmp
49+
4750
# only publish distribution to PyPI for tagged commits
4851
- name: Publish distribution to PyPI
4952
if: startsWith(github.ref, 'refs/tags/v')

0 commit comments

Comments
 (0)