From 6a25b8044e987b43cb51ece40ed9896fa5678f8a Mon Sep 17 00:00:00 2001 From: Sijia Wang Date: Tue, 25 Feb 2025 10:48:23 -0500 Subject: [PATCH 1/4] clear conda cache for corrupted extractions --- .github/workflows/core_tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/core_tests.yml b/.github/workflows/core_tests.yml index 8339dfbbe..7c518b8c5 100644 --- a/.github/workflows/core_tests.yml +++ b/.github/workflows/core_tests.yml @@ -41,6 +41,9 @@ jobs: path: /usr/share/miniconda3/envs/asim-test key: linux-64-conda-${{ hashFiles('conda-environments/github-actions-tests.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }} id: cache + + - name: Clear conda package cache + run: conda clean --all -y - name: Update environment run: | From e9e2fb8bff777761d58498f54a4fccb00baa1eca Mon Sep 17 00:00:00 2001 From: Sijia Wang Date: Tue, 25 Feb 2025 11:59:47 -0500 Subject: [PATCH 2/4] use conda solver --- .github/workflows/core_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/core_tests.yml b/.github/workflows/core_tests.yml index 7c518b8c5..f57e0e22d 100644 --- a/.github/workflows/core_tests.yml +++ b/.github/workflows/core_tests.yml @@ -32,6 +32,7 @@ jobs: miniforge-version: latest activate-environment: asim-test python-version: ${{ matrix.python-version }} + conda-solver: conda - name: Set cache date for year and month run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV From 783bc0ce3789724596fbb3f749a0dc364f00d4a8 Mon Sep 17 00:00:00 2001 From: Sijia Wang Date: Tue, 25 Feb 2025 12:05:35 -0500 Subject: [PATCH 3/4] `classic` not `conda` --- .github/workflows/core_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/core_tests.yml b/.github/workflows/core_tests.yml index f57e0e22d..1426f8771 100644 --- a/.github/workflows/core_tests.yml +++ b/.github/workflows/core_tests.yml @@ -32,7 +32,7 @@ jobs: miniforge-version: latest activate-environment: asim-test python-version: ${{ matrix.python-version }} - conda-solver: conda + conda-solver: classic - name: Set cache date for year and month run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV From c080c0de4eb8b88ddf71b88159a8128802d8e04a Mon Sep 17 00:00:00 2001 From: Sijia Wang Date: Tue, 25 Feb 2025 13:10:42 -0500 Subject: [PATCH 4/4] Revert "clear conda cache for corrupted extractions" This reverts commit 6a25b8044e987b43cb51ece40ed9896fa5678f8a. --- .github/workflows/core_tests.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/core_tests.yml b/.github/workflows/core_tests.yml index 1426f8771..97637b4ef 100644 --- a/.github/workflows/core_tests.yml +++ b/.github/workflows/core_tests.yml @@ -42,9 +42,6 @@ jobs: path: /usr/share/miniconda3/envs/asim-test key: linux-64-conda-${{ hashFiles('conda-environments/github-actions-tests.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }} id: cache - - - name: Clear conda package cache - run: conda clean --all -y - name: Update environment run: |