Skip to content

Commit

Permalink
remove duplicate steps, add scipy version
Browse files Browse the repository at this point in the history
  • Loading branch information
abachma2 committed Apr 10, 2024
1 parent 7a07bd6 commit 6564be1
Showing 1 changed file with 12 additions and 19 deletions.
31 changes: 12 additions & 19 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,37 +23,30 @@ jobs:
run: |
conda config --env --set pip_interop_enabled True
- 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
conda info
#- name: Update Environment
# run: |
# pip install pytest
# mamba env update -n openmcyclus-env -f environment.yml

- name: Install OpenMC cross section library
run:
$GITHUB_WORKSPACE/openmc-xs.bash
#- name: Install numpy
# run: |
# sudo apt install python3-pip
# pip3 install numpy
# conda info

- name: Install OpenMC from Mamba
run:
mamba install openmc
mamba install openmc scipy=1.11

- name: Install OpenMC cross section library
run:
run: |
$GITHUB_WORKSPACE/openmc-xs.bash
echo "OPENMC_CROSS_SECTIONS=cross_sections.xml" >> $GITHUB_ENV
- name: Install OpenMCyclus
run:
pip install .

- name: Checking the environment
run:
conda info

- name: Run Tests
run:
pytest tests/unit_tests/test_depletion.py
Expand Down

0 comments on commit 6564be1

Please sign in to comment.