From 286477f640505aba8ede2111c405edcf6e02fe6b Mon Sep 17 00:00:00 2001 From: eberrigan Date: Fri, 23 Aug 2024 13:39:12 -0700 Subject: [PATCH] Activate environment in the same stage as environment tests --- .github/workflows/build_manual.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_manual.yml b/.github/workflows/build_manual.yml index 0e03f8752..6374b876e 100644 --- a/.github/workflows/build_manual.yml +++ b/.github/workflows/build_manual.yml @@ -124,7 +124,6 @@ jobs: run: | echo "Creating and testing conda environment with sleap package..." conda create -y -n sleap_test -c file://$BUILD_PATH -c sleap/label/dev -c conda-forge -c nvidia -c anaconda sleap - conda activate sleap_test # Create conda environment using built conda package (Mac) # Note channel differences @@ -134,12 +133,14 @@ jobs: run: | echo "Creating and testing conda environment with sleap package..." conda create -y -n sleap_test -c file://$BUILD_PATH -c conda-forge -c anaconda sleap - conda activate sleap_test # Test conda environment - name: Test conda environment shell: bash -l {0} run: | + echo "Activating sleap_test" + conda activate sleap_test + echo "Python executable after activating sleap_test environment:" which python echo "Python version after activating sleap_test environment:"