Skip to content

Commit

Permalink
githubaction: miniforge update
Browse files Browse the repository at this point in the history
githubactions: conda

githubaction: once for all

by mamba
  • Loading branch information
Ipuch authored and pariterre committed Jan 13, 2025
1 parent a85f78d commit 06ac332
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/run_tests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,19 @@ jobs:
- name: Setup environment
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
activate-environment: bioptim
environment-file: environment.yml

- name: Print mamba info
run: |
mamba info
mamba list
conda info
conda list
- name: Install extra dependencies
run: |
mamba install pytest-cov black pytest pytest-cov codecov packaging -cconda-forge
conda install pytest-cov black pytest pytest-cov codecov packaging -cconda-forge
sudo apt install -y librhash-dev
- name: Install ACADOS on Linux
Expand Down Expand Up @@ -100,15 +99,14 @@ jobs:
- name: Setup environment
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
activate-environment: bioptim
environment-file: environment.yml

- name: Print mamba info
run: |
mamba info
conda info
# mamba list

- name: Install extra dependencies
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/run_tests_osx_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,18 @@ jobs:
- name: Setup environment
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
activate-environment: bioptim
environment-file: environment.yml

- name: Print mamba info
run: |
mamba info
mamba list
conda info
conda list
- name: Install extra dependencies
run: mamba install pytest-cov black pytest pytest-cov codecov packaging -cconda-forge
run: conda install pytest-cov black pytest pytest-cov codecov packaging -cconda-forge

- name: Install ACADOS on Mac
run: |
Expand Down

0 comments on commit 06ac332

Please sign in to comment.