Implement Sphinx documentation #188
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| main: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: Setup Conda | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| channels: conda-forge | |
| mamba-version: "*" | |
| auto-activate-base: false | |
| activate-environment: pydagmc-ci | |
| - name: Install MOAB | |
| shell: bash -l {0} | |
| run: | | |
| conda install -y -c conda-forge moab=5.5.1 | |
| - name: Install PyDAGMC | |
| shell: bash -l {0} | |
| run: | | |
| pip install -e .[test,ci] | |
| - name: Test PyDAGMC | |
| shell: bash -l {0} | |
| run: | | |
| pytest . -v --cov=src/pydagmc --cov-branch --cov-report=xml --cov-report=term-missing | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| file: coverage.xml | |
| flags: unittests | |
| name: codecov-umbrella | |
| - name: tmate debug | |
| if: ${{ failure() }} | |
| uses: mxschmitt/action-tmate@v3 |