ci: add --no-build-isolation back #114
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: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - "*" | |
| jobs: | |
| run_tests: | |
| name: Test ${{ matrix.os }} Python ${{ matrix.python-version }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python-version: ["3.10", "3.11", "3.12", "3.13.3", "3.14"] | |
| steps: | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: actions/checkout@v2 | |
| - name: Install system dependencies | |
| run: | | |
| if [ "$RUNNER_OS" == "macOS" ]; then | |
| brew install ninja | |
| elif [ "$RUNNER_OS" == "Linux" ]; then | |
| sudo apt-get update && sudo apt-get install -y ninja-build | |
| elif [ "$RUNNER_OS" == "Windows" ]; then | |
| choco install ninja | |
| fi | |
| shell: bash | |
| - name: Update pip | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install cython numpy meson-python ninja | |
| - name: Compile | |
| run: python -m pip install --group dev -e . --no-build-isolation | |
| - name: Test with pytest | |
| run: pytest -v -x automated_test.py |