Skip to content

Commit

Permalink
ci: do not use defaults channel
Browse files Browse the repository at this point in the history
  • Loading branch information
vicentebolea committed Aug 27, 2024
1 parent df957c2 commit 21da60f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/ci/gh-actions/macos-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ source "/Users/runner/miniconda3/bin/activate"

# Canonical installation of Miniconda
conda init --all
conda update --all -y
conda config --remove channels defaults
conda config --add channels conda-forge
conda config --set channel_priority strict
conda update --all -y

conda env create --verbose -f "gha/scripts/ci/gh-actions/conda-env-macos.yml"

Expand Down
4 changes: 4 additions & 0 deletions scripts/ci/gh-actions/windows-setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ conda.bat init bash
Write-Host "::endgroup::"

Write-Host "::group::Installing common deps"
conda.bat config --remove channels defaults
conda.bat config --add channels conda-forge
conda.bat config --set channel_priority strict
conda.bat update --all -y
conda.bat env create -f "gha\scripts\ci\gh-actions\conda-env-win.yml"
Write-Host "::endgroup::"

Expand Down

0 comments on commit 21da60f

Please sign in to comment.