Skip to content

Commit c8ba35e

Browse files
committed
Try with condition
1 parent e2692f2 commit c8ba35e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ env:
1313

1414
jobs:
1515
test:
16-
name: Python ${{ matrix.python-version }} on ${{ matrix.os }} with ${{ matrix.numpy }}
16+
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
1717
strategy:
1818
matrix:
1919
os: [windows-latest, ubuntu-latest, macos-latest]
2020
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
21-
numpy: ["numpy"]
2221
include:
23-
- python-version: "3.9"
22+
- os: ubuntu-latest
23+
python-version: "3.9"
2424
numpy: "numpy==1.26.4"
2525
runs-on: ${{ matrix.os }}
2626
steps:
@@ -35,7 +35,9 @@ jobs:
3535
sudo apt-get install -y libsndfile1
3636
- name: Install dependencies
3737
run: |
38-
uv pip install ".[dev]" ${{ matrix.numpy }}
38+
uv pip install ".[dev]"
39+
- if: ${{ matrix.numpy }}
40+
run: uv pip install ${{ matrix.numpy }}
3941
- name: Run tests
4042
run: pytest
4143
- name: Check style

0 commit comments

Comments
 (0)