File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 99 strategy :
1010 matrix :
1111 python-version : ["3.11"]
12- array-api-module : ["array_api_strict", "numpy", "torch", "jax.numpy"]
12+ array-api-module : ["array_api_strict", "array_api_compat. numpy", "array_api_compat. torch", "jax.numpy"]
1313 fail-fast : false
1414
1515 steps :
@@ -24,16 +24,17 @@ jobs:
2424 - name : Install dependencies
2525 run : |
2626 python -m pip install --upgrade pip
27- if [ ${{ matrix.array-api-module }} = ' torch' ]
27+ if [[ ${{ matrix.array-api-module }} == *" torch"* ] ]
2828 then
2929 python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
30- elif [ ${{ matrix.array-api-module }} = ' jax.numpy' ]
30+ elif [[ ${{ matrix.array-api-module }} == *" jax.numpy"* ] ]
3131 then
3232 python -m pip install "jax[cpu]"
3333 else
3434 python -m pip install ${{ matrix.array-api-module }}
3535 fi
3636 python -m pip install -r requirements.txt
37+ python -m pip install array-api-compat
3738 - name : Run the test suite
3839 env :
3940 ARRAY_API_TESTS_MODULE : ${{ matrix.array-api-module }}
You can’t perform that action at this time.
0 commit comments