From ab96114ac186a5671aeedb3292ea015ab43eef6e Mon Sep 17 00:00:00 2001 From: ASintsova Date: Thu, 11 Apr 2024 15:29:34 +0200 Subject: [PATCH] Update ci-with-conda.yml --- .github/workflows/ci-with-conda.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-with-conda.yml b/.github/workflows/ci-with-conda.yml index 8bb75e9..5441841 100644 --- a/.github/workflows/ci-with-conda.yml +++ b/.github/workflows/ci-with-conda.yml @@ -28,6 +28,7 @@ jobs: auto-activate-base: false - name: test conda run: | + conda activate mbarq conda info conda list # run: | @@ -37,9 +38,11 @@ jobs: run: | #conda install -c conda-forge mamba python==3.10 #conda env update --file mbarq_environment.yaml --name base + conda activate mbarq pip install . - name: Lint with flake8 run: | + conda activate mbarq conda install flake8 # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics @@ -47,5 +50,6 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | + conda activate mbarq conda install pytest pytest