Skip to content

Update to use OpenMC v0.14.0, update documentation #111

Update to use OpenMC v0.14.0, update documentation

Update to use OpenMC v0.14.0, update documentation #111

name: test-openmcyclus
on: [pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
container:
image: cyclus/cycamore
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
environment-file: environment.yml
use-mamba: true
- name: Conda config
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 OpenMC cross section library
run: $GITHUB_WORKSPACE/openmc-xs.bash
- name: Install OpenMC from Mamba
run: mamba install openmc
- name: Install OpenMC cross section library
run: echo "OPENMC_CROSS_SECTIONS=cross_sections.xml" >> $GITHUB_ENV
- name: Install OpenMCyclus
run: |
pip install .
# - name: Check environment
# run: |
# pip install pytest
# - name: Run Tests
# run: |
# pytest tests/integration_tests/test_depletereactor.py