Skip to content

Commit da4eec4

Browse files
authored
[CI]: Show filesizes of distro and installations on publish action (#9)
* Hopefully fix CI * Improve maintenance instructions * Add copybutton to code snippets * remove file from original pvpltools * fix broken links in PyPI project urls * Exclude files from sdist and bdist à la pvlib#2277 * Update publish.yml * rm verify step * Update publish.yml
1 parent 4d42bfe commit da4eec4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/publish.yml

+8
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ jobs:
5151
retention-days: 1 # delete the artifact after 1 day, no need to keep it for too long
5252
compression-level: 0 # no need to compress the files
5353

54+
- name: Distribution files & installation sizes
55+
run: |
56+
echo "Distribution files sizes"
57+
du -sh dist/*
58+
python -m pip install dist/*.whl --target /tmp/pvpltools --quiet --quiet
59+
echo "Installation sizes"
60+
du -sh /tmp/pvpltools
61+
5462
publish-distribution:
5563
name: Upload distribution to PyPI
5664
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)