Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,21 @@ jobs:
- name: Build packages
run: python -m build

- name: List distribution file sizes
run: ls -hl dist/*

- name: Check metadata verification
run: python -m twine check --strict dist/*

- name: Ensure that the wheel installs successfully
run: |
mkdir ./tmp
pip install $(find dist -type f -name "*.whl") --target=./tmp

- name: List installed file sizes
run: |
cd ./tmp && du -h pvlib

# only publish distribution to PyPI for tagged commits
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags/v')
Expand Down