diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 97eae0c..f3f817a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -21,16 +21,14 @@ jobs: run: | cp .ci_support/environment.yml environment.yml echo "- flux-core =0.59.0" >> environment.yml + echo -e "channels:\n - conda-forge\n" > .condarc - name: Setup Mambaforge uses: conda-incubator/setup-miniconda@v3 with: python-version: '3.12' - miniforge-variant: Mambaforge - channels: conda-forge - channel-priority: strict - activate-environment: my-env + miniforge-version: latest + condarc-file: .condarc environment-file: environment.yml - use-mamba: true - name: Install shell: bash -l {0} run: | diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9d929bd..834a767 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.yml - name: Convert dependencies run: | diff --git a/.github/workflows/mini.yml b/.github/workflows/mini.yml index c450896..000bbf2 100644 --- a/.github/workflows/mini.yml +++ b/.github/workflows/mini.yml @@ -20,16 +20,14 @@ jobs: sed -i '/defusedxml/d' environment.yml sed -i '/paramiko/d' environment.yml sed -i '/tqdm/d' environment.yml + echo -e "channels:\n - conda-forge\n" > .condarc - name: Setup Mambaforge uses: conda-incubator/setup-miniconda@v3 with: python-version: '3.12' - miniforge-variant: Mambaforge - channels: conda-forge - channel-priority: strict - activate-environment: my-env + miniforge-version: latest + condarc-file: .condarc environment-file: environment.yml - use-mamba: true - name: Test shell: bash -l {0} run: | diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index 0577406..b66759c 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -16,16 +16,14 @@ jobs: run: | cp binder/environment.yml environment.yml tail --lines=+4 .ci_support/environment-notebooks.yml >> environment.yml + echo -e "channels:\n - conda-forge\n" > .condarc - name: Setup Mambaforge uses: conda-incubator/setup-miniconda@v3 with: python-version: "3.12" - miniforge-variant: Mambaforge - channels: conda-forge - channel-priority: strict - activate-environment: my-env + miniforge-version: latest + condarc-file: .condarc environment-file: environment.yml - use-mamba: true - name: Install shell: bash -l {0} run: | diff --git a/.github/workflows/pypicheck.yml b/.github/workflows/pypicheck.yml index 2ed0ad6..533e6d6 100644 --- a/.github/workflows/pypicheck.yml +++ b/.github/workflows/pypicheck.yml @@ -14,16 +14,15 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Conda config + run: echo -e "channels:\n - conda-forge\n" > .condarc - name: Setup Mambaforge uses: conda-incubator/setup-miniconda@v3 with: python-version: '3.12' - miniforge-variant: Mambaforge - channels: conda-forge - channel-priority: strict - activate-environment: my-env + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment.yml - use-mamba: true - name: Pip check shell: bash -l {0} run: | diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 7145522..fababb6 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -34,16 +34,16 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Conda config + shell: bash -l {0} + run: echo -e "channels:\n - conda-forge\n" > .condarc - name: Setup Mambaforge uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - miniforge-variant: Mambaforge - channels: conda-forge - channel-priority: strict - activate-environment: my-env + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment.yml - use-mamba: true - name: Test shell: bash -l {0} run: | diff --git a/.github/workflows/unittests_old.yml b/.github/workflows/unittests_old.yml index b4bbf41..1fb43d3 100644 --- a/.github/workflows/unittests_old.yml +++ b/.github/workflows/unittests_old.yml @@ -13,16 +13,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Conda config + run: echo -e "channels:\n - conda-forge\n" > .condarc - name: Setup Mambaforge uses: conda-incubator/setup-miniconda@v3 with: python-version: '3.9' - miniforge-variant: Mambaforge - channels: conda-forge - channel-priority: strict - activate-environment: my-env + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment-old.yml - use-mamba: true - name: Test shell: bash -l {0} run: |