chore: run hatch fmt #130
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: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - 'v*' | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| name: Format | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: astral-sh/setup-uv@v7 | |
| - run: uvx hatch fmt | |
| checks: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.9" | |
| - "3.12" | |
| - "3.14" | |
| runs-on: | |
| - ubuntu-latest | |
| - macos-15-intel | |
| runs-on: ${{ matrix.runs-on }} | |
| name: Test • 🐍 ${{ matrix.python-version }} • ${{matrix.runs-on}} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: astral-sh/setup-uv@v7 | |
| - name: Test package | |
| run: uv run --with "clang<19" --extra test pytest --forked | |
| # Commented for now -- msys2 Clang (v15) and the clang Python package (v14) are incompatible | |
| # | |
| # checks_windows: | |
| # strategy: | |
| # fail-fast: false | |
| # matrix: | |
| # python-version: | |
| # - "3.8" | |
| # - "3.9" | |
| # runs-on: | |
| # - windows-latest | |
| # runs-on: ${{ matrix.runs-on }} | |
| # name: Test • 🐍 ${{ matrix.python-version }} • ${{matrix.runs-on}} | |
| # steps: | |
| # - uses: actions/checkout@v5 | |
| # - uses: actions/setup-python@v6 | |
| # with: | |
| # python-version: ${{ matrix.python-version }} | |
| # | |
| # - name: Install package | |
| # run: python -m pip install .[test] | |
| # | |
| # - name: Install clang | |
| # run: C:\msys64\usr\bin\pacman.exe -S clang64/mingw-w64-clang-x86_64-clang --noconfirm | |
| # | |
| # - name: Test package | |
| # env: | |
| # LIBCLANG_PATH: C:\msys64\clang64\bin\libclang.dll | |
| # run: python -m pytest -n2 | |
| dist: | |
| runs-on: ubuntu-latest | |
| name: Build distribution | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: hynek/build-and-inspect-python-package@v2 |