@@ -563,19 +563,16 @@ jobs:
563
563
564
564
- name : " Install Linux system dependencies"
565
565
run : |
566
- sudo apt-get update
567
566
# https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md
567
+ sudo apt-get update
568
568
sudo apt-get install \
569
569
ccache \
570
- python3-all-dev jq libpcre3 libpcre3-dev \
570
+ python3-all-dev \
571
+ jq \
572
+ libpcre3 libpcre3-dev \
571
573
pkg-config
572
-
573
574
# not sure why these would be required:
574
575
# sudo apt-get install tcl8.6 tcl8.6-dev tk8.6-dev
575
-
576
- # Install MPI dependencies regardless of whether we compile NEST with or without MPI, so the installation of MPI4Py works
577
- sudo apt-get install openmpi-bin
578
-
579
576
sudo ldconfig
580
577
581
578
- name : " Install Readline dependencies"
@@ -592,7 +589,7 @@ jobs:
592
589
593
590
- name : " Install OpenMPI development dependencies"
594
591
if : " ${{ contains(matrix.use, 'mpi') }}"
595
- run : " sudo apt-get install libopenmpi-dev"
592
+ run : " sudo apt-get install openmpi-bin libopenmpi-dev"
596
593
597
594
- name : " Install GSL system dependencies"
598
595
if : " ${{ contains(matrix.use, 'gsl') }}"
@@ -635,14 +632,24 @@ jobs:
635
632
636
633
- name : " Install Python dependencies"
637
634
run : |
638
- python -m pip install --upgrade pip setuptools
635
+ python -m pip install --upgrade pip setuptools cython
639
636
python -c "import setuptools; print('package location:', setuptools.__file__)"
640
- python -m pip install --force-reinstall --upgrade scipy 'junitparser>=2' numpy pytest pytest-timeout pytest-xdist cython matplotlib terminaltables pandoc pandas
641
- # Install mpi4py regardless of whether we compile NEST with or without MPI, so regressiontests/issue-1703.py will run in both cases
642
- python -m pip install --force-reinstall --upgrade mpi4py
637
+ pip list
638
+
639
+ - name : " Install Python test dependencies"
640
+ # These could go to a separate venv…
641
+ run : |
642
+ python -m pip install 'junitparser>=2' pytest pytest-timeout pytest-xdist terminaltables
643
+ python -m pip install numpy scipy pandas matplotlib
643
644
test \! -e "=2" # assert junitparser is correctly quoted and '>' is not interpreted as shell redirect
644
645
python -c "import pytest; print('package location:', pytest.__file__)"
645
- pip list
646
+
647
+ - name : " Install Python doc dependencies"
648
+ run : " python -m pip install pandoc"
649
+
650
+ - name : " Install Python mpi dependencies"
651
+ if : " ${{ contains(matrix.use, 'mpi') }}"
652
+ run : " python -m pip install --force-reinstall --upgrade mpi4py"
646
653
647
654
- name : " Install h5py"
648
655
if : " ${{ contains(matrix.use, 'hdf5') }}"
0 commit comments