Readme cosmetics #104
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: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install build dependencies | |
| run: | | |
| uv venv | |
| uv sync --all-groups | |
| - name: Build package | |
| run: | | |
| uv build | |
| - name: Archive package | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: wheel_and_source_${{ matrix.python-version }} | |
| path: | | |
| dist | |
| - name: Build documentation | |
| run: | | |
| sudo apt-get -qq update | |
| sudo apt-get install -y pandoc | |
| cd doc | |
| make html | |
| - name: Archive documentation | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: docs_${{ matrix.python-version }} | |
| path: | | |
| doc/build/html |