From e4380d237f1e135537d918588a3776f402247777 Mon Sep 17 00:00:00 2001 From: Caroline Malin-Mayor Date: Mon, 2 Dec 2024 15:38:34 -0500 Subject: [PATCH 1/4] Use conda instead of mamba in CI --- .github/workflows/ci.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 398544a..bf4bc1f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -39,13 +39,12 @@ jobs: with: python-version: ${{ matrix.python-version }} miniforge-version: latest - use-mamba: true channels: conda-forge channel-priority: true - name: Install package and dependencies run: | - mamba install -c gurobi -c funkelab ilpy + conda install -c gurobi -c funkelab ilpy python -m pip install -e .[test] - name: Test From 9f5f5d7e608cbe675037cfe9d8c918ee1e3e8f14 Mon Sep 17 00:00:00 2001 From: Caroline Malin-Mayor Date: Mon, 2 Dec 2024 15:52:56 -0500 Subject: [PATCH 2/4] Add debugging of conda environment to action --- .github/workflows/ci.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bf4bc1f..4c686ff 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -47,6 +47,11 @@ jobs: conda install -c gurobi -c funkelab ilpy python -m pip install -e .[test] + - name: Debug Conda Env + run: | + conda info + conda list + - name: Test run: pytest tests -v --color=yes --cov=motile --cov-report=xml From 0b83361c6c4e91048facd1c9396832a25dc7db82 Mon Sep 17 00:00:00 2001 From: Caroline Malin-Mayor Date: Tue, 3 Dec 2024 11:41:29 -0500 Subject: [PATCH 3/4] Add conda update -all --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4c686ff..55e66f8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -44,6 +44,7 @@ jobs: - name: Install package and dependencies run: | + conda update -all conda install -c gurobi -c funkelab ilpy python -m pip install -e .[test] From edb0a9a5d8520f3fe6cfc67a69c64f1cbaea216c Mon Sep 17 00:00:00 2001 From: Caroline Malin-Mayor Date: Tue, 3 Dec 2024 11:43:19 -0500 Subject: [PATCH 4/4] Fix typo in conda update --all --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 55e66f8..095ef37 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -44,7 +44,7 @@ jobs: - name: Install package and dependencies run: | - conda update -all + conda update --all conda install -c gurobi -c funkelab ilpy python -m pip install -e .[test]