Prepare for 2025.6 release #117
Workflow file for this run
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 | |
| on: push | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # needed for trusted publishing step | |
| contents: read | |
| steps: | |
| - name: Install Build Tools | |
| run: | | |
| curl -sSL https://install.python-poetry.org | python | |
| echo $HOME/.poetry/bin >> $GITHUB_PATH | |
| - uses: actions/checkout@v4.0.0 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.9" | |
| - name: Install Python Requirements | |
| run: | | |
| poetry install | |
| - name: Build Package | |
| run: | | |
| poetry run pytest --cov=recline --cov-report=xml tests | |
| poetry build | |
| - name: Publish Package | |
| if: startsWith(github.event.ref, 'refs/tags') | |
| uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4 |