diff --git a/.github/workflows/ci-cvxpy.yml b/.github/workflows/ci-cvxpy.yml index 742e42a..c4a6d4f 100644 --- a/.github/workflows/ci-cvxpy.yml +++ b/.github/workflows/ci-cvxpy.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [macos-latest] # Add ubuntu-latest when cvxpy pytest issue is solved - numpy: ['numpy==1.26.0', numpy] + numpy: [numpy] # We used to also test version 1.26.0, but now cvxpy requires numpy 2 runs-on: ${{ matrix.os }} @@ -65,4 +65,4 @@ jobs: - name: Test CVXPY run: | python3 -m pip install --break-system-packages pytest hypothesis ${{ matrix.numpy }} - (cd cvxpy/cvxpy/tests && python3 -m pytest -v .) + python -m pytest --pyargs cvxpy.tests