Skip to content

Commit

Permalink
configure setup-miniconda with conda-remove-defaults (#1324)
Browse files Browse the repository at this point in the history
* configure setup-miniconda with conda-remove-defaults

* add changelog news fragment
  • Loading branch information
bjlittle authored Feb 10, 2025
1 parent 1e1f2b4 commit 8f966ea
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
miniforge-version: latest
activate-environment: ${{ env.ENV_NAME }}
use-only-tar-bz2: false
conda-remove-defaults: true

- name: "conda environment cache"
uses: ./.github/workflows/composite/conda-env-cache
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-locks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
miniforge-version: latest
activate-environment: ${{ env.ENV_NAME }}
use-only-tar-bz2: false
conda-remove-defaults: true

- name: "conda environment cache"
uses: ./.github/workflows/composite/conda-env-cache
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-tests-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
activate-environment: ${{ env.ENV_NAME }}
environment-file: requirements/conda-linux-64.lock
use-only-tar-bz2: false
conda-remove-defaults: true

- name: "conda info"
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
miniforge-version: latest
activate-environment: ${{ env.ENV_NAME }}
use-only-tar-bz2: false
conda-remove-defaults: true

- name: "conda environment cache"
uses: ./.github/workflows/composite/conda-env-cache
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ jobs:
miniforge-version: latest
activate-environment: ${{ env.ENV_NAME }}
use-only-tar-bz2: false
conda-remove-defaults: true

- name: "conda environment cache"
uses: ./.github/workflows/composite/conda-env-cache
Expand Down
3 changes: 3 additions & 0 deletions changelog/1324.contributor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Configured the ``conda-remove-defaults = true`` option for the
`setup-miniconda <https://github.com/conda-incubator/setup-miniconda>`__
:fab:`github` Action. (:user:`bjlittle`)

0 comments on commit 8f966ea

Please sign in to comment.