Skip to content

Commit

Permalink
updating environment setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ceserz2 committed Nov 8, 2023
1 parent 8ad3391 commit b402679
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,32 @@ jobs:
run: |
conda config --env --set pip_interop_enabled True
- name: Install numpy
run: |
sudo apt install python3-pip
pip3 install numpy
# - name: Install mamba from conda
# run: |
# conda config --add channels conda-forge
# conda update -n base --all
# conda install -n base mamba

- name: Activate Environment
run:
conda init openmcyclus-env
conda activate openmcyclus-env

- name: Update Environment
run: |
pip install pytest
mamba env update -n openmcyclus-env -f environment.yml
- name: Install numpy
run: |
sudo apt install python3-pip
pip3 install numpy
- name: Install OpenMC cross section library
run:
conda info
$GITHUB_WORKSPACE/openmc-xs.bash

- name: Install OpenMC from Mamba
run:
conda info
mamba install openmc

- name: Install OpenMC cross section library
Expand All @@ -51,7 +53,6 @@ jobs:

- name: Install OpenMCyclus
run: |
conda info
pip install .
- name: Checking the environment
Expand Down

0 comments on commit b402679

Please sign in to comment.