Skip to content

Commit

Permalink
Use conda instead of miniconda
Browse files Browse the repository at this point in the history
  • Loading branch information
gmatteo committed Jul 21, 2024
1 parent fabe565 commit cf906e6
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,23 @@ jobs:
- name: Check out repo
uses: actions/checkout@v4

- name: Set up micromamba
uses: mamba-org/setup-micromamba@main
- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.8

- name: Create mamba environment
run: |
micromamba create -n abipy python=${{ matrix.config.python }} --yes
#- name: Set up micromamba
# uses: mamba-org/setup-micromamba@main
#- name: Create mamba environment
# run: |
# micromamba create -n abipy python=${{ matrix.config.python }} --yes

- name: Installing abinit from conda-forge
run: |
micromamba run -n abipy install abinit -c conda-forge
micromamba activate abipy
conda create -n abipy python=${{ matrix.config.python }} --yes
conda activate abipy
conda install abinit -c conda-forge
abinit --version
abinit --build
Expand Down

0 comments on commit cf906e6

Please sign in to comment.