Investigating windows crash #917
Workflow file for this run
This file contains 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: | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
- '.ci/**' | |
- '*.rst' | |
env: | |
CMAKE_ARGS: -DCMAKE_CXX_COMPILER_LAUNCHER=ccache | |
# Latest Jupyter requires this to acknowledge deprecation | |
JUPYTER_PLATFORM_DIRS: 1 | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
# version number must be string, otherwise 3.10 becomes 3.1 | |
- os: windows-latest | |
python-version: "3.11" | |
installs: "numpy>=2.0.0rc1" | |
- os: windows-latest | |
python-version: "3.11" | |
installs: "numpy>=2.0.0rc1 scipy" | |
- os: windows-latest | |
python-version: "3.11" | |
installs: "numpy>=2.0.0rc1 numba" | |
- os: windows-latest | |
python-version: "3.11" | |
installs: "numpy>=2.0.0rc1 matplotlib" | |
- os: windows-latest | |
python-version: "3.11" | |
installs: "numpy>=2.0.0rc1 numba scipy" | |
- os: windows-latest | |
python-version: "3.11" | |
installs: "numpy>=2.0.0rc1 scipy matplotlib" | |
- os: windows-latest | |
python-version: "3.11" | |
installs: "numpy>=2.0.0rc1 numba scipy matplotlib" | |
- os: windows-latest | |
python-version: "3.11" | |
installs: "numpy>=2.0.0rc1 numba scipy matplotlib==3.9.0" | |
- os: windows-latest | |
python-version: "3.11" | |
installs: "numpy<2 numba scipy matplotlib==3.9.0" | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
# must come after checkout | |
- uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.python-version }} | |
- uses: rui314/setup-mold@v1 | |
if: runner.os == 'Linux' | |
- uses: yezz123/setup-uv@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# pip install .[test] is not used here to test minimum (faster) | |
# cov workflow runs all tests | |
- run: uv pip install --system . pytest pytest-xdist ${{ matrix.installs }} | |
- run: python -m pytest -n 3 |