Fix RCC with negative height (#45) #36
This file contains hidden or 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: 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 |