Skip to content

Uno interface

Uno interface #3

name: test_nlp_solvers
on:
pull_request:
push:
branches:
- master
tags:
- '*'
jobs:
run_nlp_tests:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- uses: actions/checkout@v5
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: nlp-test
python-version: 3.12
channels: conda-forge
channel-priority: strict
auto-update-conda: true
miniforge-version: latest
use-mamba: true
- name: Install cyipopt via conda
run: |
conda install -y -c conda-forge cyipopt
- name: Install uno via pip
run: |
pip install unopy
- name: Install test dependencies
run: |
pip install -e .
pip install pytest hypothesis
- name: Run nlp tests
run: |
pytest cvxpy/tests/nlp_tests/.