bump-version #18
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: build & push tags to pypi | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
ubuntu-pip: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup python | |
run: sudo apt-get update && sudo apt-get install -y python3-pip | |
- name: debug git status | |
run: git status && cat vbjax/_version.py | |
- name: pip install dependencies | |
run: pip install '.[dev]' | |
- name: run tests | |
run: pytest -m 'not slow' | |
- name: build packages | |
run: python -m build | |
- name: upload packages to pypi | |
run: twine upload -u __token__ -p "${{ secrets.PYPIUPLOAD }}" dist/* | |