Skip to content

Fix RCC with negative height (#45) #36

Fix RCC with negative height (#45)

Fix RCC with negative height (#45) #36

Workflow file for this run

name: Run tests
on:
# allows us to run workflows manually
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
container: openmc/openmc:latest
steps:
- uses: actions/checkout@v4
- name: Apt dependencies
shell: bash
run: |
apt -y update
apt install -y python3-venv curl
python -m venv venv
source venv/bin/activate
- name: Install
shell: bash
run: |
pip install -U pip
pushd /root/OpenMC/openmc
pip install .[test]
popd
pip install .[test]
- name: Test
shell: bash
run: pytest --cov=openmc_mcnp_adapter --cov-branch --cov-report=xml -rs tests
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: openmc-dev/openmc_mcnp_adapter