From: Vladislav Shchapov Date: Fri, 3 May 2024 12:27:06 +0000 (+0500) Subject: Switch to python venv X-Git-Tag: 2.2.0~26 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=13d17a36f96c5dfa90570c1703a9098ebd67b4cd;p=thirdparty%2Fzlib-ng.git Switch to python venv Signed-off-by: Vladislav Shchapov --- diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index a2744322..93ed9b19 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -712,7 +712,9 @@ jobs: if: matrix.codecov shell: bash run: | - python3 -u -m pip install --user gcovr==5.0 + python3 -u -m venv ${{ matrix.build-dir || '.' }}/venv + source ${{ matrix.build-dir || '.' }}/venv/${{ runner.os == 'Windows' && 'Scripts' || 'bin' }}/activate + python3 -u -m pip install gcovr==5.0 python3 -m gcovr ${{ matrix.build-dir || '' }} -j 3 --verbose \ --exclude-unreachable-branches \ --gcov-executable "${{ matrix.gcov-exec || 'gcov' }}" \