name: Python on: push: branches: [ develop ] pull_request: branches: [ develop ] jobs: test: runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: [ "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v5 with: version: "0.5.14" python-version: "${{ matrix.python-version }}" - uses: actions/setup-python@v5 with: python-version: "${{ matrix.python-version }}" - run: uv sync --all-extras --dev - run: uvx --python-preference=only-managed --from slap-cli slap test documentation: runs-on: ubuntu-latest if: github.ref == 'refs/heads/develop' steps: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v5 with: version: "0.5.14" - run: uvx --from slap-cli slap changelog format --markdown --all > docs/content/changelog.md - run: cd docs && uv run mkdocs build --site-dir _site - uses: JamesIves/[email protected] with: branch: gh-pages folder: docs/_site ssh-key: ${{ secrets.DEPLOY_KEY }}