Merge branch 'main' into refactor/mxenv-autodetect-uv #289
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: Tests | |
| on: | |
| push: | |
| workflow_call: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.9" | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| - "3.14" | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| exclude: | |
| # GH does not support macos and python 3.9 | |
| - python-version: "3.9" | |
| os: macos-latest | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "pyproject.toml" | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install Project (Windows) | |
| if: runner.os == 'Windows' | |
| run: make MAKESHELL='C:/Program Files/Git/usr/bin/bash' install | |
| - name: Install Project (Unix) | |
| if: runner.os != 'Windows' | |
| run: make install | |
| - name: Run Tests (Windows) | |
| if: runner.os == 'Windows' | |
| run: make MAKESHELL='C:/Program Files/Git/usr/bin/bash' test | |
| - name: Run Tests (Unix) | |
| if: runner.os != 'Windows' | |
| run: make test |