Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi committed Jul 25, 2023
1 parent 820b8be commit 19be5e7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/install-from-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,14 @@ jobs:
use-mamba: true
- name: Update conda and mamba
run: |
conda update -n base -c conda-forge conda
# setup-miniconda@v2 installs an old conda and mamba
# forcing a modern mamba updates both mamba and conda
# this and next step should be removed when updated upstream
conda update -n base -c conda-forge conda
conda install -c conda-forge "mamba>=1.4.8"
conda --version
mamba --version
- name: Update environment
- name: Update environment with new mamba
run: mamba update -c conda-forge -f environment.yml
- run: mkdir -p source_install_linux_artifacts_python_${{ matrix.python-version }}
- name: Record versions
Expand Down Expand Up @@ -100,6 +101,17 @@ jobs:
miniforge-version: "latest"
miniforge-variant: Mambaforge
use-mamba: true
- name: Update conda and mamba
run: |
# setup-miniconda@v2 installs an old conda and mamba
# forcing a modern mamba updates both mamba and conda
# this and next step should be removed when updated upstream
conda update -n base -c conda-forge conda
conda install -c conda-forge "mamba>=1.4.8"
conda --version
mamba --version
- name: Update environment with new mamba
run: mamba update -c conda-forge -f environment.yml
- run: mkdir -p source_install_osx_artifacts_python_${{ matrix.python-version }}
- name: Record versions
run: |
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ jobs:
use-mamba: true
- name: Update conda and mamba
run: |
conda update -n base -c conda-forge conda
# setup-miniconda@v2 installs an old conda and mamba
# forcing a modern mamba updates both mamba and conda
# this and next step should be removed when updated upstream
conda update -n base -c conda-forge conda
conda install -c conda-forge "mamba>=1.4.8"
conda --version
mamba --version
- name: Update environment
- name: Update environment with new mamba
run: mamba update -c conda-forge -f environment.yml
- run: mkdir -p test_linux_artifacts_python_${{ matrix.python-version }}
- run: conda --version 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/conda_version.txt
Expand Down Expand Up @@ -97,6 +98,17 @@ jobs:
miniforge-version: "latest"
miniforge-variant: Mambaforge
use-mamba: true
- name: Update conda and mamba
run: |
# setup-miniconda@v2 installs an old conda and mamba
# forcing a modern mamba updates both mamba and conda
# this and next step should be removed when updated upstream
conda update -n base -c conda-forge conda
conda install -c conda-forge "mamba>=1.4.8"
conda --version
mamba --version
- name: Update environment with new mamba
run: mamba update -c conda-forge -f environment.yml
- run: mkdir -p test_osx_artifacts_python_${{ matrix.python-version }}
- run: conda --version 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/conda_version.txt
- run: python -V 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/python_version.txt
Expand Down

0 comments on commit 19be5e7

Please sign in to comment.