ci: add in pre-install #109
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: Update pip | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install cython numpy meson-python | |
| - name: Compile | |
| run: python -m pip install --group dev -e . --no-build-isolation | |
| - name: Test with pytest | |
| run: pytest -v -x automated_test.py |