Skip to content

Merge pull request #14 from UtrechtUniversity/feat_update_ssp #17

Merge pull request #14 from UtrechtUniversity/feat_update_ssp

Merge pull request #14 from UtrechtUniversity/feat_update_ssp #17

Workflow file for this run

name: Check installation and basic tests
on:
push:
branches: [master]
tags: ["v*.*.*"]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
test_install:
name: Test on Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip and build tools
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Install mimosa
run: |
pip install .
- name: Dependency check
run: |
pip check
- name: Install test dependencies
run: |
pip install pytest
- name: Run tests (excluding ipopt)
run: |
pytest -m "not ipopt"