Skip to content

Commit

Permalink
Added SCIPOptSuite installation to symmip workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tBuLi committed Sep 25, 2023
1 parent e863bdd commit a409437
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test_symmip.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: pytest
name: pytest_and_symmip
env:
version: 8.0.3
on: [push, pull_request]

jobs:
Expand All @@ -11,6 +13,10 @@ jobs:
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]
steps:
- uses: actions/checkout@v3
- name: Install dependencies (SCIPOptSuite)
run: |
wget --quiet --no-check-certificate https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/SCIPOptSuite-${{ env.version }}-Linux-ubuntu.deb
sudo apt-get update && sudo apt install -y ./SCIPOptSuite-${{ env.version }}-Linux-ubuntu.deb
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand All @@ -23,6 +29,6 @@ jobs:
pip install -r requirements.txt
pip install matplotlib
pip install -e .[symmip]
- name: Test with coverage
- name: Test MIP
run:
pytest tests/test_mip.py

0 comments on commit a409437

Please sign in to comment.