From db2feccd152005505112e6139b23bb09fefd7a48 Mon Sep 17 00:00:00 2001 From: Grossfield Lab Date: Sat, 26 Oct 2024 13:52:49 -0400 Subject: [PATCH 1/2] Add miniconda manually to CI env Linux CI environments have conda by default, but OS X doesn't --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c2ccc5f93..cb094a0eb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,6 +33,11 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 + # OS X no longer has conda by default, although linux does + - uses: conda-incubator/setup-miniconda@v3 + with: + miniconda-version: "latest" + activate-environment: base # Runs a set of commands using the runners shell - name: Run conda_build.sh From d047fa13be6fd4aabf92e649d263f860a67d6b21 Mon Sep 17 00:00:00 2001 From: Grossfield Lab Date: Sat, 26 Oct 2024 13:57:03 -0400 Subject: [PATCH 2/2] Should use anaconda-client-env to work rather than base --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb094a0eb..d99306e40 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,7 +37,7 @@ jobs: - uses: conda-incubator/setup-miniconda@v3 with: miniconda-version: "latest" - activate-environment: base + activate-environment: anaconda-client-env # Runs a set of commands using the runners shell - name: Run conda_build.sh