Skip to content

Commit

Permalink
change poetry installation
Browse files Browse the repository at this point in the history
  • Loading branch information
MAfarrag committed Mar 6, 2024
1 parent 6651469 commit 332c7ab
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/conda-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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

0 comments on commit 332c7ab

Please sign in to comment.