Version 122 #1420
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: CI Test | |
on: [pull_request] | |
jobs: | |
build-linux: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install cplex pytest>=7.2 pyqt5 jpype1 install-jdk>=1.1 | |
- name: Install CNApy | |
run: | | |
python setup.py install | |
- name: Test CNApy | |
run: | | |
pytest -v ./cnapy/tests/test.py | |
build-windows: | |
runs-on: "windows-latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install cplex pytest>=7.2 pyqt5 jpype1 install-jdk>=1.1 | |
- name: Install CNApy | |
run: | | |
python setup.py install | |
- name: Test CNApy | |
run: | | |
pytest -v ./cnapy/tests/test.py | |
build-macos: | |
runs-on: "macos-latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install cplex pytest>=7.2 pyqt5 jpype1 install-jdk>=1.1 | |
- name: Install CNApy | |
run: | | |
python setup.py install | |
- name: Test CNApy | |
run: | | |
pytest -v ./cnapy/tests/test.py |