diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index d03f037ee8d..499de400c68 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -100,7 +100,7 @@ jobs: needs: build - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} defaults: run: @@ -109,6 +109,7 @@ jobs: strategy: matrix: python: ['3.9', '3.10', '3.11', '3.12', '3.13'] + os: [ubuntu-latest] continue-on-error: true @@ -203,7 +204,7 @@ jobs: needs: build - runs-on: windows-2019 + runs-on: ${{ matrix.os }} defaults: run: @@ -212,6 +213,7 @@ jobs: strategy: matrix: python: ['3.9', '3.10', '3.11', '3.12', '3.13'] + os: [windows-2019] continue-on-error: true diff --git a/.github/workflows/cron-run-tests.yaml b/.github/workflows/cron-run-tests.yaml index ec49466aff4..2aae8d99291 100644 --- a/.github/workflows/cron-run-tests.yaml +++ b/.github/workflows/cron-run-tests.yaml @@ -55,6 +55,18 @@ jobs: echo "Latest tag is ${{ steps.find_latest_tag.outputs.tag }}" - name: Setup miniconda + id: setup_miniconda + uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0 + with: + miniforge-version: latest + use-mamba: 'true' + channels: conda-forge + conda-remove-defaults: 'true' + python-version: ${{ matrix.python }} + activate-environment: ${{ env.TEST_ENV_NAME }} + + - name: ReSetup miniconda + if: steps.setup_miniconda.outcome == 'failure' uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0 with: miniforge-version: latest