1313 name : Format
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v3
17- - uses : actions/setup-python@v4
16+ - uses : actions/checkout@v4
17+ - uses : actions/setup-python@v5
1818 with :
1919 python-version : " 3.10"
2020 -
uses :
pre-commit/[email protected] @@ -27,13 +27,13 @@ jobs:
2727 strategy :
2828 fail-fast : false
2929 matrix :
30- python-version : [ "3.8", "3.9 ", "3.10 "]
30+ python-version : [ "3.8", "3.10 ", "3.11 "]
3131 runs-on : [ubuntu-latest, macos-latest, windows-latest]
3232
3333 steps :
34- - uses : actions/checkout@v3
34+ - uses : actions/checkout@v4
3535
36- - uses : actions/setup-python@v4
36+ - uses : actions/setup-python@v5
3737 with :
3838 python-version : ${{ matrix.python-version }}
3939
@@ -62,48 +62,37 @@ jobs:
6262
6363 - name : Install most optional dependencies
6464 run : |
65- python -m pip install .[all_except_psyneulink ]
65+ python -m pip install .[optional ]
6666
6767 - name : Version info for optional installed packages
6868 run : |
6969 pip list
7070
7171 - name : Install graphviz
72- if : ${{ matrix.runs-on != 'windows-latest' }}
73- run : |
74- if [[ ${{ matrix.runs-on }} == *"macos"* ]]; then brew install graphviz ; fi
75- if [[ ${{ matrix.runs-on }} == *"ubuntu"* ]]; then sudo apt install graphviz ; fi
72+ uses : ts-graphviz/setup-graphviz@v1
7673
7774 - name : Test interface ACT-R
78- if : ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
7975 run : |
8076 python -m pytest -v -m "actr" tests/
8177
8278 - name : Test interface PyTorch
83- if : ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
8479 run : |
8580 python -m pytest -v -m "pytorch" tests/
8681
8782 - name : Test interface NeuroML
88- if : ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
8983 run : |
84+ python -m pip install .[neuroml]
9085 python -m pytest -v -m "neuroml" tests/
9186
92- - name : Test interface TensorFlow linux/mac
93- if : ${{ matrix.runs-on != 'windows-latest' }}
94- run : |
95- dot -V
96- python -m pytest -v -m "tensorflow" tests/
97-
98- - name : Test interface TensorFlow windows
99- if : ${{ matrix.python-version != '3.10' && matrix.runs-on == 'windows-latest' }}
87+ - name : Test interface TensorFlow
88+ if : ${{ matrix.python-version != '3.11'}}
10089 run : |
101- choco install graphviz
90+ python -m pip install .[tensorflow]
10291 dot -V
10392 python -m pytest -v -m "tensorflow" tests/
10493
10594 - name : Test interface PsyNeuLink
106- if : ${{ matrix.python-version != '3.10' }}
95+ if : ${{ matrix.python-version != '3.11' }}
10796 run : |
10897 python -m pip install .[psyneulink]
10998 python -m pytest -v -m "psyneulink" tests/
@@ -125,7 +114,7 @@ jobs:
125114 runs-on : ubuntu-latest
126115
127116 steps :
128- - uses : actions/checkout@v3
117+ - uses : actions/checkout@v4
129118
130119 - name : Build sdist and wheel
131120 run : pipx run --spec build pyproject-build
0 commit comments