From d590dee99a8a0ec9af174f77f474ca8f322b35dc Mon Sep 17 00:00:00 2001 From: MinchinWeb Date: Mon, 17 May 2021 20:50:10 -0600 Subject: [PATCH] [GitHub Actions] create virutal env directly --- .github/workflows/testing_external_plugins.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/testing_external_plugins.yaml b/.github/workflows/testing_external_plugins.yaml index 160197f4..b5618ea6 100644 --- a/.github/workflows/testing_external_plugins.yaml +++ b/.github/workflows/testing_external_plugins.yaml @@ -45,13 +45,9 @@ jobs: path: .venv key: ${{ runner.os }}-${{ hashFiles('poetry.lock') }}-${{ matrix.python-version }}-v2-namespace-plugins - - name: Install dependencies (1 of 2) + - name: Create Virtual Environment run: | - python -m pip install pip --upgrade - pip install poetry - poetry config --local virtualenvs.in-project true - poetry install --remove-untracked - poetry install + python -m venv .venv - name: Activate Virtual Environment (Linux) if: startsWith(matrix.os, 'ubuntu') @@ -65,9 +61,11 @@ jobs: if: startsWith(matrix.os, 'windows') run: venv/Scripts/activate - - name: Install dependencies (2 of 2) + - name: Install dependencies run: | + python -m pip install . python -m pip install ./tests/external_plugins_src/ + python -m pip install pytest behave cd features # installed test plugins aren't recognized by "behave" if run from the # project's root folder