Skip to content

Commit a0b7e0f

Browse files
committed
Install python requirements (including pytest) inside Fedora docker container
1 parent 9c4b7e5 commit a0b7e0f

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.ci_fedora.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,16 @@ test . != ".$1" && mpi="$1" || mpi=openmpi
4747
export OMP_NUM_THREADS=1
4848
cd
4949
cd BOUT-dev
50+
51+
echo "Installing Python requirements inside Fedora container..."
52+
# Install pytest and dependencies for the user inside the container
53+
python3 -m pip install --user -r requirements.txt
54+
5055
echo "starting configure"
5156
time cmake -S . -B build -DBOUT_USE_PETSC=ON \
52-
-DBOUT_UPDATE_GIT_SUBMODULE=OFF \
53-
-DBOUT_USE_SYSTEM_FMT=ON \
54-
-DBOUT_USE_SYSTEM_MPARK_VARIANT=ON \
57+
-DBOUT_UPDATE_GIT_SUBMODULE=OFF \
58+
-DBOUT_USE_SYSTEM_FMT=ON \
59+
-DBOUT_USE_SYSTEM_MPARK_VARIANT=ON \
5560
-DBOUT_USE_SUNDIALS=ON
5661

5762
time make -C build build-check -j 2

0 commit comments

Comments
 (0)