From 24df86785fff0dd3cee4937de6abcea88d4b4768 Mon Sep 17 00:00:00 2001 From: Camilo Diaz Date: Tue, 11 Jun 2024 10:34:30 -0400 Subject: [PATCH] adding neuron mpi veirification --- .github/workflows/unit_tests.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index c49190590..ebe28ca01 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -51,14 +51,18 @@ jobs: shell: bash -el {0} run: | nrniv -python -nobanner -mpi -c "from neuron import h; print(h)" + - name: Run MPI application with NEURON + shell: bash -el {0} + run: | + mpiexec -np 2 -verbose nrniv -python -mpi -nobanner python ./hnn_core/mpi_test.py # - name: Lint with flake8 # shell: bash -el {0} # run: | # flake8 --count hnn_core - - name: Test with pytest - shell: bash -el {0} - run: | - python -m pytest ./hnn_core/tests/test_dipole.py --cov=hnn_core --cov-report=xml -s + # - name: Test with pytest + # shell: bash -el {0} + # run: | + # python -m pytest ./hnn_core/tests/test_dipole.py --cov=hnn_core --cov-report=xml -s # - name: Upload coverage to Codecov # shell: bash -el {0} # run: |