From 0053f119fb83324db186b3ddc3c8f799f40506ef Mon Sep 17 00:00:00 2001 From: Aron Date: Mon, 5 Feb 2024 17:17:18 +0100 Subject: [PATCH 1/3] Update conda installation action --- .github/workflows/docker.yml | 2 +- .github/workflows/fitbot.yml | 2 +- .github/workflows/tests.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3e81a91a17..a79959a341 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -21,7 +21,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - name: Setup conda and install conda-build diff --git a/.github/workflows/fitbot.yml b/.github/workflows/fitbot.yml index d95b346991..9ade4abf58 100644 --- a/.github/workflows/fitbot.yml +++ b/.github/workflows/fitbot.yml @@ -27,7 +27,7 @@ jobs: NETRC_FILE: ${{ secrets.NETRC_FILE }} steps: - uses: actions/checkout@v1 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - name: Install SSH key diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5c9cc440a9..ac6a897625 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ jobs: PYTHONHASHSEED: "0" steps: - uses: actions/checkout@v1 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - name: Install macOS SDK From 69551a1e32af7b351f79c05afbdde18230eea55c Mon Sep 17 00:00:00 2001 From: Aron Date: Tue, 6 Feb 2024 09:23:12 +0100 Subject: [PATCH 2/3] Downgrade libmamba solver version --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ac6a897625..d4cb915260 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -41,7 +41,7 @@ jobs: shell: bash -l {0} run: | echo "$NETRC_FILE" | base64 --decode > ~/.netrc - conda install -n base conda-libmamba-solver + conda install -n base conda-libmamba-solver=23.12.0 conda config --set solver libmamba conda config --append channels conda-forge conda config --prepend channels https://packages.nnpdf.science/public From 01b91ae990375a6e9a2088020a808381bca74259 Mon Sep 17 00:00:00 2001 From: Aron Date: Tue, 6 Feb 2024 09:46:59 +0100 Subject: [PATCH 3/3] Debug mode --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d4cb915260..89dec84c2c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -53,7 +53,7 @@ jobs: shell: bash -l {0} run: | conda activate test - conda mambabuild -q conda-recipe + conda mambabuild --debug -q conda-recipe - name: Build recipe and run tests on macOS if: startsWith(matrix.os, 'macOS') shell: bash -l {0}