fix omnipath import error #122
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: NORDic post-pushing testing | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} using Miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
miniforge-version: latest | |
use-mamba: true | |
mamba-version: "*" | |
channels: colomoto | |
- name: Set up Graphviz | |
uses: ts-graphviz/setup-graphviz@v1 | |
- name: Install dependencies and build NORDic | |
run: | | |
conda activate test | |
conda install -c colomoto -y -q maboss | |
MaBoSS -h && echo "MaBoSS has been successfully installed." | |
python -m pip install --upgrade pip | |
pip install -r pip/requirements.txt | |
pip install --use-pep517 -e . | |
python -c "import NORDic; print('NORDic has been successfully installed and importable in Python.')" | |
- name: Test NI (CCHS) | |
run: | | |
cd tests/ && python -m tests_NI | |
- name: Test PMR (CCHS) | |
run: | | |
cd tests/ && python -m tests_PMR | |
- name: Test DS (CCHS) | |
run: | | |
cd tests/ && python -m tests_DS | |
- name: Test DR (CCHS) | |
run: | | |
cd tests/ && python -m tests_DR | |
- name: Test PKN (CCHS) | |
run: | | |
cd tests/ && python -m tests_PKN | |
- name: Test SIM (CCHS) | |
run: | | |
cd tests/ && python -m tests_sim |