Skip to content

Bump github/codeql-action from 2.13.4 to 3.25.6 (#2455) #3

Bump github/codeql-action from 2.13.4 to 3.25.6 (#2455)

Bump github/codeql-action from 2.13.4 to 3.25.6 (#2455) #3

Workflow file for this run

name: test_backends
on:
pull_request:
push:
branches:
- master
tags:
- '*'
jobs:
test_backends:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: 3.8
- uses: actions/checkout@v4
- name: Install cvxpy dependencies
run: |
pip install .
pip install pytest
- name: Run tests for each non-default backend
run : |
export CVXPY_DEFAULT_CANON_BACKEND="SCIPY"
python -c "from cvxpy.cvxcore.python.canonInterface import get_default_canon_backend; print(get_default_canon_backend())"
python -c "from cvxpy.cvxcore.python.canonInterface import get_default_canon_backend; assert get_default_canon_backend() == 'SCIPY'"
pytest