From 7cf916d8cafacaa18d6f7aaf4c6a5c83581e509f Mon Sep 17 00:00:00 2001 From: Jan8be Date: Mon, 29 Apr 2024 16:30:04 +0200 Subject: [PATCH] bug fix --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9759b44..e9a902c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: [ push, pull_request ] env: CORE_CHANGED: false APP_CHANGED: false + PYTHON_VENV_ROOT: ${{ github.workspace }}/src/python-venv jobs: install-metadynminer: @@ -27,6 +28,10 @@ jobs: - name: Install dependencies run: | + if [ "$RUNNER_OS" == "macOS" ]; then + python3 -m venv ${PYTHON_VENV_ROOT} + source ${PYTHON_VENV_ROOT}/bin/activate + fi python --version python3 -m pip install --upgrade pip pip3 install pytest pytest-cov