Skip to content

Commit

Permalink
Death to conda, long live mamba
Browse files Browse the repository at this point in the history
  • Loading branch information
pshriwise committed Aug 15, 2024
1 parent 114f280 commit 00499d3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .github/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: test-env
channels:
- conda-forge
dependencies:
- python>=3.8
- numpy
- pytest
- openmc==0.15.0
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: true
activate-environment: ""
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: .github/environment.yml
init-shell: >-
bash
powershell
cache-environment: true
post-cleanup: 'all'

- name: Install OpenMC
shell: bash
run: |
conda config --add channels conda-forge
conda install -c conda_forge openmc==0.15.0
mamba install -c conda_forge openmc==0.15.0
- name: Clone OpenMC
run: |
Expand Down

0 comments on commit 00499d3

Please sign in to comment.