Skip to content

Commit

Permalink
Activate environment in the same stage as environment tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eberrigan committed Aug 23, 2024
1 parent cb34de4 commit 286477f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:"
Expand Down

0 comments on commit 286477f

Please sign in to comment.