Skip to content

Commit ca4843a

Browse files
authored
Merge pull request #501 from ModECI/development
To v0.4.9
2 parents 420ab81 + 065fb63 commit ca4843a

File tree

93 files changed

+4765
-4254
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+4765
-4254
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,3 +307,4 @@ examples/TensorFlow/Keras/keras_to_MDF
307307
/examples/TensorFlow/Keras/MNIST/keras_to_MDF
308308
/examples/TensorFlow/Keras/MNIST/keras_to_MDF.1
309309
/examples/TensorFlow/Keras/IRIS/keras_to_MDF.1
310+
/checkout_pngs.sh

docs/MDF_function_specifications.json

Lines changed: 53 additions & 53 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)