From a81d0481aa4a75926d22a0042d999bf4dbcc4d92 Mon Sep 17 00:00:00 2001 From: Jakob Kaiser <jakob.kaiser@kip.uni-heidelberg.de> Date: Sat, 6 Apr 2024 15:11:10 +0000 Subject: [PATCH] feat: add pytest we want to change from nose to pytest as a python test runner. Compare c/22559. Change-Id: I8c6881339db4fa83d321c4e7dcd8d95a369e404c --- share/yashchiki/styles/asic/create_recipe.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/yashchiki/styles/asic/create_recipe.sh b/share/yashchiki/styles/asic/create_recipe.sh index 25821ae0..217e0f14 100755 --- a/share/yashchiki/styles/asic/create_recipe.sh +++ b/share/yashchiki/styles/asic/create_recipe.sh @@ -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 -- GitLab