From 2bf30f80a9928e5df0821a2bb5ec1ad97e309a71 Mon Sep 17 00:00:00 2001 From: Mostafa Farrag Date: Wed, 6 Mar 2024 23:24:25 +0100 Subject: [PATCH] add conda deployment workflow --- .github/workflows/conda-deployment.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/conda-deployment.yml b/.github/workflows/conda-deployment.yml index ebee596..32f2c90 100644 --- a/.github/workflows/conda-deployment.yml +++ b/.github/workflows/conda-deployment.yml @@ -19,7 +19,7 @@ jobs: mamba-version: "*" #use-mamba: true auto-update-conda: false - #environment-file: environment.yml + environment-file: environment.yml auto-activate-base: false activate-environment: test python-version: ${{ matrix.python-version }} @@ -32,8 +32,9 @@ jobs: python-version: ${{ matrix.python-version }} architecture: x64 - - name: Install dependencies + - name: Install dependencies and package run: | + conda install -c conda-forge poetry poetry install - name: Generate coverage report @@ -43,4 +44,4 @@ jobs: conda list conda config --show-sources conda config --show - pytest -sv + poetry run pytest -sv