From 4c4978806bf08ad63ddba0977b1ea46734e2c516 Mon Sep 17 00:00:00 2001 From: Yurii Momotenko Date: Fri, 29 Mar 2024 14:25:12 +0100 Subject: [PATCH] Simplify tests to pip --- .github/workflows/test.yaml | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6f4e4c9..4f32a50 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -49,35 +49,10 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - #---------------------------------------------- - # ----- install & configure poetry ----- - #---------------------------------------------- - - name: Install Poetry - uses: snok/install-poetry@v1 - with: - virtualenvs-create: true - virtualenvs-in-project: true - #---------------------------------------------- - # load cached venv if cache exists - #---------------------------------------------- - - name: Load cached venv - id: cached-poetry-dependencies - uses: actions/cache@v2 - with: - path: .venv - key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - #---------------------------------------------- - # install dependencies if cache does not exist - #---------------------------------------------- - name: Install dependencies - if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' - run: poetry install --no-interaction --no-root - #---------------------------------------------- - # install your root project, if required - #---------------------------------------------- - - name: Install library - run: poetry install --no-interaction - + run: | + python -m pip install --upgrade pip + pip install . - name: Run tests run: | source .venv/bin/activate