From f504b01297777ab62c21cbb269263ffe22059a51 Mon Sep 17 00:00:00 2001 From: "Juan M. Cruz-Martinez" Date: Mon, 5 Feb 2024 11:15:27 +0100 Subject: [PATCH 1/4] Update miniconda workflow version --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5c9cc440a9..a2bbabc772 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,8 +26,8 @@ jobs: NNPDF_SSH_KEY: ${{ secrets.NNPDF_SSH_KEY }} PYTHONHASHSEED: "0" steps: - - uses: actions/checkout@v1 - - uses: conda-incubator/setup-miniconda@v2 + - uses: actions/checkout@v4 + - uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - name: Install macOS SDK From bc6f8915f782d3c62634d4aac1dc19ce03ad9a2c Mon Sep 17 00:00:00 2001 From: "Juan M. Cruz-Martinez" Date: Mon, 5 Feb 2024 11:22:14 +0100 Subject: [PATCH 2/4] Update tests.yml --- .github/workflows/tests.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a2bbabc772..2c7e32dedf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -41,19 +41,17 @@ jobs: shell: bash -l {0} run: | echo "$NETRC_FILE" | base64 --decode > ~/.netrc - conda install -n base conda-libmamba-solver - conda config --set solver libmamba conda config --append channels conda-forge conda config --prepend channels https://packages.nnpdf.science/public conda config --set show_channel_urls true conda activate test - conda install boa --yes + conda install conda-build --yes - name: Build recipe and run tests on linux if: startsWith(matrix.os, 'ubuntu') shell: bash -l {0} run: | conda activate test - conda mambabuild -q conda-recipe + conda build -q conda-recipe - name: Build recipe and run tests on macOS if: startsWith(matrix.os, 'macOS') shell: bash -l {0} From 4c12429e1faca3ae0be418230195dc7484436202 Mon Sep 17 00:00:00 2001 From: "Juan M. Cruz-Martinez" Date: Mon, 5 Feb 2024 11:35:16 +0100 Subject: [PATCH 3/4] revert checkout --- .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 2c7e32dedf..c3fceb703a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: NNPDF_SSH_KEY: ${{ secrets.NNPDF_SSH_KEY }} PYTHONHASHSEED: "0" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v1 - uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} From da4bebaa6045d08c069d2801aeb97a4fda7d830f Mon Sep 17 00:00:00 2001 From: "Juan M. Cruz-Martinez" Date: Mon, 5 Feb 2024 12:36:05 +0100 Subject: [PATCH 4/4] test v2 --- .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 c3fceb703a..d4dedebc79 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@v3 + - uses: conda-incubator/setup-miniconda@v2 with: python-version: ${{ matrix.python-version }} - name: Install macOS SDK