Update dependency numpy to v2.4.2 (#537) #1940
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: Test | |
| on: [push, pull_request, workflow_dispatch] | |
| permissions: {} | |
| env: | |
| FORCE_COLOR: 1 | |
| PIP_DISABLE_PIP_VERSION_CHECK: 1 | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "pypy3.11" | |
| - "3.15t" | |
| - "3.15" | |
| - "3.14t" | |
| - "3.14" | |
| - "3.13t" | |
| - "3.13" | |
| - "3.12" | |
| - "3.11" | |
| - "3.10" | |
| os: [windows-latest, macos-latest, ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| allow-prereleases: true | |
| - name: Set PYTHON_GIL | |
| if: endsWith(matrix.python-version, 't') | |
| run: | | |
| echo "PYTHON_GIL=0" >> "$GITHUB_ENV" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Tox tests | |
| run: | | |
| uvx --python ${{ matrix.python-version }} --with tox-uv tox -e py | |
| - name: Tox tests (pins) | |
| if: matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest' | |
| run: | | |
| uvx --python ${{ matrix.python-version }} --with tox-uv tox -e pins | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| flags: ${{ matrix.os }} | |
| name: ${{ matrix.os }} Python ${{ matrix.python-version }} | |
| success: | |
| needs: test | |
| runs-on: ubuntu-latest | |
| name: Test successful | |
| steps: | |
| - name: Success | |
| run: echo Test successful |