Made transform_US_to_wmsd() method public again #306
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
env: | |
version: 8.0.3 | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@v2 # checkout the repository content to github runner | |
- 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: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' # install the python version needed | |
- name: install python packages | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: install PySCIPOpt | |
run: python -m pip install . | |
- name: install module | |
run: pip install -e . | |
- name: run unit tests | |
run: python -m pytest |