Split hgq tests and isolate qkeras tests to make tests run in under 1h #1027
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: 📦 Packaging release to PyPI | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
release: | |
types: [published] | |
jobs: | |
release: | |
name: Upload new release to PyPI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- name: Build SDist and Wheel | |
run: pipx run build --sdist --wheel | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: dist/*.* | |
- name: Publish 📦 to PyPI | |
if: startsWith(github.ref, 'refs/tags') | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
password: ${{ secrets.PYPI_PASSWORD }} |