From b864bc567b40cfb769cd18c83d1207907fc3ad85 Mon Sep 17 00:00:00 2001 From: "Mathieu Boudreau, PhD" Date: Thu, 2 May 2024 15:59:46 +0800 Subject: [PATCH] Try forcing macos runner to 13 instead of latest see: https://github.com/conda-incubator/setup-miniconda/issues/344 and https://github.com/conda/constructor/pull/777/files --- .github/workflows/run_tests.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 30186ffb..548d79d0 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -47,7 +47,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ "ubuntu-latest", "macos-latest", "windows-latest" ] + os: [ "ubuntu-latest", "macos-13", "windows-latest" ] python-version: [ "3.8" ] # Main steps for the test to be reproduced across OS x Python @@ -64,10 +64,12 @@ jobs: # Step 2: Install environment. - name: Install Conda Env All OS - run: | - conda update - conda install environment.yml - conda activate ads_env + uses: conda-incubator/setup-miniconda@v2 + with: + python-version: ${{matrix.python-version}} + activate-environment: ads_venv + auto-update-conda: true + environment-file: environment.yml # Step 3: List conda info, conda packages - name: Conda info and list