Skip to content

Commit 7131986

Browse files
committed
Fixup CI script
- Changed where tests are located to be out of package source but forgot to update path in CI workflow. - Disabled testing against MDF for the moment since MDF PR has has not gone through yet. This will be the first PR.
1 parent 3845f7d commit 7131986

File tree

1 file changed

+15
-18
lines changed

1 file changed

+15
-18
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525
- name: Install package
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install flake8
29-
pip install .
28+
pip install .[dev]
3029
3130
- name: Lint with flake8
3231
run: |
@@ -43,9 +42,7 @@ jobs:
4342
4443
- name: Run pytest
4544
run: |
46-
pip install pytest
47-
cd modelspec/test/
48-
pytest -v
45+
pytest tests/
4946
5047
- name: Install & test NeuroMLlite
5148
run: |
@@ -63,19 +60,19 @@ jobs:
6360
run: python -m pip install git+https://github.com/SheffieldML/GPy.git@devel
6461

6562

66-
- name: Install MDF
67-
if: ${{ matrix.python-version != '2.7' }}
68-
run: |
69-
70-
# Install psyneulink - mdf branch
71-
python -m pip install git+https://github.com/PrincetonUniversity/PsyNeuLink.git@mdf
72-
73-
git clone https://github.com/ModECI/MDF.git
74-
cd MDF
75-
git checkout modelspec # specific branch...
76-
pip install .
77-
cd examples/MDF
78-
python arrays.py -run # test one example
63+
# - name: Install MDF
64+
# if: ${{ matrix.python-version != '2.7' }}
65+
# run: |
66+
#
67+
# # Install psyneulink - mdf branch
68+
# python -m pip install git+https://github.com/PrincetonUniversity/PsyNeuLink.git@mdf
69+
#
70+
# git clone https://github.com/ModECI/MDF.git
71+
# cd MDF
72+
# git checkout modelspec # specific branch...
73+
# pip install .
74+
# cd examples/MDF
75+
# python arrays.py -run # test one example
7976

8077
- name: Final version info
8178
run: |

0 commit comments

Comments
 (0)