Fix test_idle_heartbeat: wait for shard connections and fix idle asse… #1603
This file contains hidden or 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 and upload to PyPi | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - 'branch-**' | |
| workflow_dispatch: | |
| jobs: | |
| build-and-publish: | |
| name: "Build wheels" | |
| uses: ./.github/workflows/lib-build-and-push.yml | |
| with: | |
| upload: false | |
| # TODO: Remove when https://github.com/pypa/gh-action-pypi-publish/issues/166 is fixed and update build-and-publish.with.upload to ${{ endsWith(github.event.ref, 'scylla') }} | |
| publish: | |
| name: "Publish wheels to PyPi" | |
| if: ${{ endsWith(github.event.ref, 'scylla') }} | |
| needs: build-and-publish | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| id-token: write | |
| steps: | |
| - uses: actions/download-artifact@v7 | |
| with: | |
| path: dist | |
| merge-multiple: true | |
| - uses: pypa/gh-action-pypi-publish@release/v1 | |
| with: | |
| skip-existing: true |