From 3e31a3decc482763443e4e06a4729e39527faecf Mon Sep 17 00:00:00 2001 From: "Aviv A. Rosenberg" Date: Thu, 6 May 2021 17:01:17 +0300 Subject: [PATCH] Update workflow Try to fix the env activation --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ada30c1..6dc4329 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,9 +40,9 @@ jobs: conda-channels: conda-forge # optional, default is - name: Install deps - run: | - conda env update -f environment.yml -n proteins - conda activate proteins - + run: conda env update -f environment.yml -n proteins + - name: Run tests - run: pytest + run: | + source activate proteins + pytest