Skip to content

Commit

Permalink
CI: try fixing test install on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Sep 7, 2024
1 parent bd9dbf2 commit b6d0e45
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ jobs:

windows:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
Expand All @@ -87,17 +84,14 @@ jobs:
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: "3.11"
- run: |
pip install -U pip wheel
pip install pandas numpy scipy pytest maturin
name: Install dependencies
- run: |
mkdir -p $env:TGT_DIR
Remove-Item -Path "$env:TGT_DIR/*.whl" -Force
maturin build --release --interpreter python --out $env:TGT_DIR
pip install $env:TGT_DIR\*.whl
mkdir -p dist
maturin build --release --interpreter python --out .
pip install *.whl
name: Install package
env:
TGT_DIR: "target\\wheels\\${{ matrix.python-version }}"
- run: pytest --verbose

0 comments on commit b6d0e45

Please sign in to comment.