Add px online server #16
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: Test Deploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| test-deploy: | |
| environment: | |
| name: test_release | |
| url: https://test.pypi.org/p/openserver | |
| permissions: | |
| contents: read | |
| id-token: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Check out code" | |
| uses: actions/checkout@v3 | |
| - name: "Set up uv" | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: "Build distribution" | |
| run: | | |
| uv build | |
| uv tool run twine check dist/* | |
| - name: "Publish package distributions to PyPI Test" | |
| if: github.event_name != 'pull_request' | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| with: | |
| repository-url: https://test.pypi.org/legacy/ | |
| skip-existing: true |