suite/schedule: migrate from docopt to argparse #1723
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: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: CI on python${{ matrix.python }} via ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| include: | |
| - os: ubuntu-24.04 | |
| python: "3.12" | |
| - os: ubuntu-26.04 | |
| python: "3.14" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install pipx | |
| run: pip install pipx | |
| - name: Install uv | |
| run: pipx install uv | |
| - name: Run pipx ensurepath | |
| run: pipx ensurepath | |
| - name: Lint | |
| run: uv tool run ruff check | |
| - name: Run tests | |
| run: uv run --all-extras pytest | |
| - name: Run docs build | |
| run: uv run tox -e docs |