From 9612a1f16b2a35c3f82d44078b3a6df0ce72ba53 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 27 Aug 2024 09:17:48 +0200 Subject: [PATCH] Remove conda default channel --- .github/workflows/coverage.yml | 8 ++++---- .github/workflows/deploy.yml | 9 ++++----- .github/workflows/pypicheck.yml | 8 ++++---- .github/workflows/unittests-mpich.yml | 8 ++++---- .github/workflows/unittests-old.yml | 8 ++++---- .github/workflows/unittests-openmpi.yml | 8 ++++---- 6 files changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 0785dd04..07063ba7 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -14,13 +14,13 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Conda config + run: echo -e "channels:\n - conda-forge\n" > .condarc - uses: conda-incubator/setup-miniconda@v3 with: python-version: "3.12" - miniforge-variant: Mambaforge - channels: conda-forge - channel-priority: strict - use-mamba: true + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment-openmpi.yml - name: Test shell: bash -l {0} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3d3ed0ae..a899822b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,14 +19,13 @@ jobs: id-token: write steps: - uses: actions/checkout@v4 + - name: Conda config + run: echo -e "channels:\n - conda-forge\n" > .condarc - uses: conda-incubator/setup-miniconda@v3 with: python-version: "3.12" - mamba-version: "*" - channels: conda-forge - miniforge-variant: Mambaforge - channel-priority: strict - auto-update-conda: true + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment-openmpi.yml - name: Convert dependencies run: | diff --git a/.github/workflows/pypicheck.yml b/.github/workflows/pypicheck.yml index aaa9ebc1..02e908a6 100644 --- a/.github/workflows/pypicheck.yml +++ b/.github/workflows/pypicheck.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Conda config + run: echo -e "channels:\n - conda-forge\n" > .condarc - uses: conda-incubator/setup-miniconda@v3 with: python-version: "3.12" - miniforge-variant: Mambaforge - channels: conda-forge - channel-priority: strict - use-mamba: true + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment-openmpi.yml - name: Setup shell: bash -l {0} diff --git a/.github/workflows/unittests-mpich.yml b/.github/workflows/unittests-mpich.yml index eaf09c8d..93e74c64 100644 --- a/.github/workflows/unittests-mpich.yml +++ b/.github/workflows/unittests-mpich.yml @@ -18,13 +18,13 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Conda config + run: echo -e "channels:\n - conda-forge\n" > .condarc - uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - miniforge-variant: Mambaforge - channels: conda-forge - channel-priority: strict - use-mamba: true + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment-mpich.yml - name: Test shell: bash -l {0} diff --git a/.github/workflows/unittests-old.yml b/.github/workflows/unittests-old.yml index e99b6c55..27c7896e 100644 --- a/.github/workflows/unittests-old.yml +++ b/.github/workflows/unittests-old.yml @@ -14,13 +14,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Conda config + run: echo -e "channels:\n - conda-forge\n" > .condarc - uses: conda-incubator/setup-miniconda@v3 with: python-version: '3.9' - miniforge-variant: Mambaforge - channels: conda-forge - channel-priority: strict - use-mamba: true + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment-old.yml - name: Test shell: bash -l {0} diff --git a/.github/workflows/unittests-openmpi.yml b/.github/workflows/unittests-openmpi.yml index c67080c5..5f6752c6 100644 --- a/.github/workflows/unittests-openmpi.yml +++ b/.github/workflows/unittests-openmpi.yml @@ -18,13 +18,13 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Conda config + run: echo -e "channels:\n - conda-forge\n" > .condarc - uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - miniforge-variant: Mambaforge - channels: conda-forge - channel-priority: strict - use-mamba: true + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment-openmpi.yml - name: Test shell: bash -l {0}