1313 name : Format
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v1
17- - uses : actions/setup-python@v2
18- - uses : pre-commit/action@v2.0.0
16+ - uses : actions/checkout@v3
17+ - uses : actions/setup-python@v4
18+ with :
19+ python-version : " 3.10"
20+ - uses : pre-commit/action@v3.0.0
1921 with :
2022 extra_args : --hook-stage manual --all-files
2123
2931 runs-on : [ubuntu-latest, macos-latest, windows-latest]
3032
3133 steps :
32- - uses : actions/checkout@v2
34+ - uses : actions/checkout@v3
3335
34- - uses : actions/setup-python@v2
36+ - uses : actions/setup-python@v4
3537 with :
3638 python-version : ${{ matrix.python-version }}
3739
5860 run : |
5961 python -m pytest -m coremdf tests/
6062
61- - name : Install optional dependencies
63+ - name : Install most optional dependencies
6264 run : |
63- python -m pip install .[all ]
65+ python -m pip install .[all_except_psyneulink ]
6466
6567 - name : Version info for optional installed packages
6668 run : |
8789 run : |
8890 python -m pytest -v -m "neuroml" tests/
8991
90- - name : Test interface PsyNeuLink
91- if : ${{ matrix.python-version != '3.10' }}
92- run : |
93- python -m pytest -v -m "psyneulink" tests/
94-
9592 - name : Test interface TensorFlow linux/mac
9693 if : ${{ matrix.runs-on != 'windows-latest' }}
9794 run : |
@@ -105,6 +102,20 @@ jobs:
105102 dot -V
106103 python -m pytest -v -m "tensorflow" tests/
107104
105+ - name : Test interface PsyNeuLink
106+ if : ${{ matrix.python-version != '3.10' }}
107+ run : |
108+ python -m pip install .[psyneulink]
109+ python -m pytest -v -m "psyneulink" tests/
110+
111+ - name : Build Documentation
112+ run : |
113+ cd docs
114+ python generate.py
115+ cd sphinx
116+ make clean
117+ make html
118+
108119 - name : Final version info for optional installed packages
109120 run : |
110121 pip list
@@ -114,12 +125,12 @@ jobs:
114125 runs-on : ubuntu-latest
115126
116127 steps :
117- - uses : actions/checkout@v1
128+ - uses : actions/checkout@v3
118129
119130 - name : Build sdist and wheel
120131 run : pipx run --spec build pyproject-build
121132
122- - uses : actions/upload-artifact@v2
133+ - uses : actions/upload-artifact@v3
123134 with :
124135 path : dist
125136
0 commit comments