on: push: workflow_dispatch: inputs: verbose: description: "Verbose" required: false default: false type: boolean jobs: test: runs-on: container steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install the latest version of uv uses: astral-sh/setup-uv@v4 with: version: "0.5.5" - name: Install run: uv sync - name: Run tests (API call) run: .venv/bin/pytest -s tests/basic.py - name: Build wheel run: uv build --wheel - name: Publish to home env: LOCAL_PYPI_TOKEN: ${{ secrets.LOCAL_PYPI_TOKEN }} run: uv publish --publish-url https://code.philo.ydns.eu/api/packages/philorg/pypi --token $LOCAL_PYPI_TOKEN