Skip to content

Commit 6640eae

Browse files
committed
add conda installation and activation
1 parent db9fbf8 commit 6640eae

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/unittest-ctsm.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,16 @@ jobs:
1919
cd /CTSM
2020
./bin/git-fleximod update
2121
22-
# Install conda environment
22+
# Install conda environment packages
23+
- name: Install conda environment
24+
run: |
25+
conda env create --file -y ${{env.TESTING_DIR}}/testing.yml
2326
24-
- name: Activate spack environment and run tests
27+
- name: Activate spack and conda environments and run tests
2528
run: |
29+
conda activate testing
2630
. /opt/spack-environment/activate.sh
31+
echo "CONDA_PREFIX: $CONDA_PREFIX"
2732
echo "NETCDF_FORTRAN_PATH: $NETCDF_FORTRAN_PATH"
2833
echo "NETCDF_C_PATH: $NETCDF_C_PATH"
2934
cd ${{env.TESTING_DIR}}

0 commit comments

Comments
 (0)