Skip to content

Commit

Permalink
add conda env activation
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilo9999 committed Jun 8, 2024
1 parent 24435ef commit aa74877
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,18 @@ jobs:
- name: Print which mpirun mpiexec
shell: bash -el {0}
run: |
conda activate test
mpiexec --version
which mpirun mpiexec
- name: Install HNN-core
shell: bash -el {0}
run: |
pip install --verbose '.[opt, parallel, test, gui]'
- name: Run MPI application
run: mpiexec -np 2 python ./hnn_core/mpi_test.py
shell: bash -el {0}
run: |
conda activate test
mpiexec -np 2 python ./hnn_core/mpi_test.py
#- name: Lint with flake8
# shell: bash -el {0}
# run: |
Expand Down

0 comments on commit aa74877

Please sign in to comment.