From 332c7ab360fc027837eb64060cbf19159502e470 Mon Sep 17 00:00:00 2001 From: Mostafa Farrag Date: Wed, 6 Mar 2024 23:39:08 +0100 Subject: [PATCH] change poetry installation --- .github/workflows/conda-deployment.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/conda-deployment.yml b/.github/workflows/conda-deployment.yml index d7e2f45..e69c76d 100644 --- a/.github/workflows/conda-deployment.yml +++ b/.github/workflows/conda-deployment.yml @@ -32,12 +32,15 @@ jobs: python-version: ${{ matrix.python-version }} architecture: x64 - - name: Install dependencies and package + - name: Install Poetry run: | - conda install -c conda-forge poetry - poetry install - echo "POETRY_HOME=$HOME/.poetry" >> $GITHUB_ENV - echo "$HOME/.poetry/bin" >> $GITHUB_PATH + echo "Installing Poetry..." + conda run --name test pip install poetry + + - name: Install dependencies with Poetry + run: | + echo "Installing dependencies..." + conda run --name test poetry install - name: Generate coverage report shell: bash -el {0} @@ -46,4 +49,4 @@ jobs: conda list conda config --show-sources conda config --show - poetry run pytest -sv + conda run --name test poetry run pytest -sv