Merge pull request #22 from abachma2/depletion #135
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-openmcyclus | |
on: [pull_request, push] | |
jobs: | |
integration-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
activate-environment: openmcyclus-env | |
use-mamba: true | |
- name: Conda config | |
run: | | |
conda config --env --set pip_interop_enabled True | |
- name: Install dependencies | |
run: | | |
mamba install -y cycamore openmc scipy=1.11 pytest | |
- name: Install OpenMC cross section library | |
run: | | |
$GITHUB_WORKSPACE/openmc-xs.bash | |
echo "OPENMC_CROSS_SECTIONS=cross_sections.xml" >> $GITHUB_ENV | |
- name: Install OpenMCyclus | |
run: | | |
pip install . | |
# - name: Run Tests | |
# run: | | |
# pytest tests/integration_tests/test_depletereactor.py |