From 1f8c088bbd610d04afc70dcbcfc1c8a1bd70ef6b Mon Sep 17 00:00:00 2001 From: 1kastner Date: Sat, 9 Dec 2023 22:09:53 +0100 Subject: [PATCH] Make version check before installation --- .github/workflows/installation-from-remote.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/installation-from-remote.yaml b/.github/workflows/installation-from-remote.yaml index cb5cd16..d5fdd77 100644 --- a/.github/workflows/installation-from-remote.yaml +++ b/.github/workflows/installation-from-remote.yaml @@ -28,12 +28,10 @@ jobs: - name: Install ConFlowGen run: | + conda clean conda info - conda create -n test-install-conflowgen -c conda-forge conflowgen pytest - - - name: Check ConFlowGen version - run: | conda search conflowgen -c conda-forge --info + conda create -n test-install-conflowgen -c conda-forge conflowgen pytest - name: Run tests run: | @@ -63,14 +61,12 @@ jobs: run: | conda init bash eval "$(conda shell.bash hook)" + conda clean conda info + conda search conflowgen -c conda-forge --info conda activate base conda create -n test-install-conflowgen -c conda-forge conflowgen pytest - - name: Check ConFlowGen version - run: | - conda search conflowgen -c conda-forge --info - - name: Run tests run: | eval "$(conda shell.bash hook)"