Skip to content

Commit 68dd2ea

Browse files
committed
Use better syntax to skip 3.11
1 parent ab3a1c9 commit 68dd2ea

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/array-api-tests-numpy-1-21.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ on: [push, pull_request]
44

55
jobs:
66
array-api-tests-numpy:
7+
# NumPy 1.21 doesn't support Python 3.11
8+
if: matrix.python-version != '3.11'
79
uses: ./.github/workflows/array-api-tests.yml
810
with:
911
package-name: numpy
1012
package-version: '== 1.21.*'
1113
xfails-file-extra: '-1-21'
12-
13-
strategy:
14-
matrix:
15-
python-version: ['3.8', '3.9', '3.10']

0 commit comments

Comments
 (0)