13
13
name : Format
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v3
17
- - uses : actions/setup-python@v4
16
+ - uses : actions/checkout@v4
17
+ - uses : actions/setup-python@v5
18
18
with :
19
19
python-version : " 3.10"
20
20
-
uses :
pre-commit/[email protected]
@@ -27,13 +27,13 @@ jobs:
27
27
strategy :
28
28
fail-fast : false
29
29
matrix :
30
- python-version : [ "3.8", "3.9 ", "3.10 "]
30
+ python-version : [ "3.8", "3.10 ", "3.11 "]
31
31
runs-on : [ubuntu-latest, macos-latest, windows-latest]
32
32
33
33
steps :
34
- - uses : actions/checkout@v3
34
+ - uses : actions/checkout@v4
35
35
36
- - uses : actions/setup-python@v4
36
+ - uses : actions/setup-python@v5
37
37
with :
38
38
python-version : ${{ matrix.python-version }}
39
39
@@ -62,48 +62,37 @@ jobs:
62
62
63
63
- name : Install most optional dependencies
64
64
run : |
65
- python -m pip install .[all_except_psyneulink ]
65
+ python -m pip install .[optional ]
66
66
67
67
- name : Version info for optional installed packages
68
68
run : |
69
69
pip list
70
70
71
71
- 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
76
73
77
74
- name : Test interface ACT-R
78
- if : ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
79
75
run : |
80
76
python -m pytest -v -m "actr" tests/
81
77
82
78
- name : Test interface PyTorch
83
- if : ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
84
79
run : |
85
80
python -m pytest -v -m "pytorch" tests/
86
81
87
82
- name : Test interface NeuroML
88
- if : ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
89
83
run : |
84
+ python -m pip install .[neuroml]
90
85
python -m pytest -v -m "neuroml" tests/
91
86
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'}}
100
89
run : |
101
- choco install graphviz
90
+ python -m pip install .[tensorflow]
102
91
dot -V
103
92
python -m pytest -v -m "tensorflow" tests/
104
93
105
94
- name : Test interface PsyNeuLink
106
- if : ${{ matrix.python-version != '3.10' }}
95
+ if : ${{ matrix.python-version != '3.11' }}
107
96
run : |
108
97
python -m pip install .[psyneulink]
109
98
python -m pytest -v -m "psyneulink" tests/
@@ -125,7 +114,7 @@ jobs:
125
114
runs-on : ubuntu-latest
126
115
127
116
steps :
128
- - uses : actions/checkout@v3
117
+ - uses : actions/checkout@v4
129
118
130
119
- name : Build sdist and wheel
131
120
run : pipx run --spec build pyproject-build
0 commit comments