File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ if $gen_cpp_coverage; then
9393 use_llvm_cov=true
9494
9595 # Run tests (C++ Unittests)
96- python3 -m pip install iqm-client==28.0.0
96+ python3 -m pip install iqm-client==28.0.0 --break-system-packages
9797 ctest --output-on-failure --test-dir ${repo_root} /build -E ctest-nvqpp -E ctest-targettests
9898 ctest_status=$?
9999 /usr/local/llvm/bin/llvm-lit -v --param nvqpp_site_config=${repo_root} /build/test/lit.site.cfg.py ${repo_root} /build/test
@@ -180,13 +180,12 @@ if $gen_cpp_coverage; then
180180fi
181181
182182if $gen_py_coverage ; then
183- # Use a venv to avoid PEP 668 externally-managed-environment when installing pytest-cov
184183 venv_dir=${repo_root} /build/venv-coverage
184+ python3 -mpip install iqm_client==16.1 -vvv --break-system-packages
185185 python3 -m venv " $venv_dir "
186186 # shellcheck source=/dev/null
187187 . " ${venv_dir} /bin/activate"
188188 pip install pytest-cov
189- pip install iqm_client==16.1 -vvv
190189 rm -rf ${repo_root} /_skbuild
191190 pip install . -vvv
192191 mkdir -p ${repo_root} /build/pycoverage
You can’t perform that action at this time.
0 commit comments