Skip to content
Snippets Groups Projects
Commit a81d0481 authored by Jakob Kaiser's avatar Jakob Kaiser
Browse files

feat: add pytest

we want to change from nose to pytest as a python test runner.
Compare c/22559.

Change-Id: I8c6881339db4fa83d321c4e7dcd8d95a369e404c
parent b0253f8a
No related branches found
No related tags found
No related merge requests found
......@@ -201,10 +201,12 @@ From: ${DOCKER_BASE_IMAGE}
yum -y install gtest-devel
# ECM: people (YS) just need pylint, etc. (upgrade to spack if more is needed)
# JJK: nose is needed as a python test runner. We want to replace it by pytest
# in the future
wget https://repo.anaconda.com/miniconda/Miniconda3-py38_4.8.3-Linux-x86_64.sh
bash Miniconda3-py38_4.8.3-Linux-x86_64.sh -b -p /opt/conda
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh
/opt/conda/bin/conda install -y pylint pycodestyle nose pyyaml
/opt/conda/bin/conda install -y pylint pycodestyle nose pytest pyyaml
# YS: teststand dependencies (no python in spack yet)
/opt/conda/bin/conda install -y numpy matplotlib
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment