Bump codecov/codecov-action from 4 to 5 #376
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Install pkg | |
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows | |
on: # Trigger the workflow on push or pull request, but only for the main branch | |
push: {} | |
pull_request: | |
branches: [main] | |
jobs: | |
pkg-check: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Check package | |
run: | | |
pip install check-manifest | |
check-manifest | |
python setup.py check --metadata --strict | |
- name: Create package | |
run: | | |
pip install --upgrade setuptools wheel | |
python setup.py sdist bdist_wheel | |
- name: Verify package | |
run: | | |
pip install -r tests/requirements.txt | |
twine check dist/* | |
python setup.py clean | |
- name: Dry run | |
run: | | |
python setup.py install --dry-run --user |