File tree Expand file tree Collapse file tree
config/docker/dependencies
tests/test_automation/containers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ jobs:
172172 run : |
173173 brew upgrade || brew link --overwrite python@3.12
174174 brew install gcc@14 ninja hdf5 fftw boost
175- python3 -m pip install numpy h5py
175+ python3 -m pip install numpy h5py pytest pytest-cov pytest-order
176176
177177 - name : Configure
178178 run : tests/test_automation/github-actions/ci/run_step.sh configure
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ RUN dnf install -y ninja-build
1111RUN dnf install -y rsync # Nexus hard requirement
1212RUN dnf install -y python3-numpy
1313RUN dnf install -y python3-h5py
14+ RUN dnf install -y python3-pytest
15+ RUN dnf install -y python3-pytest-cov
16+ RUN dnf install -y python3-pytest-order
1417
1518# # Add a user different from root for OpenMPI
1619RUN adduser -u 1000 -d /home/user -s /bin/bash user
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ RUN export DEBIAN_FRONTEND=noninteractive &&\
2424 sudo \
2525 curl \
2626 rsync \
27+ python3-numpy python3-pytest python3-pytest-cov python3-pytest-order \
2728 wget \
2829 software-properties-common \
2930 vim \
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ RUN export DEBIAN_FRONTEND=noninteractive &&\
4545 python3-pandas \
4646 python3-coverage \
4747 python3-pytest \
48+ python3-pytest-cov \
49+ python3-pytest-order \
4850 python3-pip \
4951 -y
5052
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ RUN export DEBIAN_FRONTEND=noninteractive &&\
4343 python3-pandas \
4444 python3-coverage \
4545 python3-pytest \
46+ python3-pytest-cov \
47+ python3-pytest-order \
4648 python3-pip \
4749 -y
4850
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ build-backend = "hatchling.build"
2626[dependency-groups ]
2727dev = [
2828 " pytest>=9.0.2" ,
29+ " coverage[toml]>=7.13.5; python-version < '3.11'" ,
30+ " coverage>=7.13.5; python-version >= '3.11'" ,
2931 " pytest-cov>=7.0.0" ,
3032]
3133
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ RUN groupadd --gid $USER_GID $USERNAME \
2828RUN apt-get install -y --no-install-recommends \
2929 ca-certificates make ninja-build git cmake wget bzip2 rsync g++ gfortran openmpi-bin libopenmpi-dev libboost-dev \
3030 libopenblas-openmp-dev libhdf5-dev libxml2-dev libfftw3-dev \
31- python3-numpy python3-scipy python3-pandas python3-h5py python3-matplotlib
31+ python3-numpy python3-scipy python3-pandas python3-h5py python3-matplotlib \
32+ python3-pytest python3-pytest-cov python3-pytest-order
3233
3334# Convenience feature to setup certificates for behind firewall builds.
3435# * Copy any provided certificates into the container and update the SSL config
You can’t perform that action at this time.
0 commit comments