Refactor and enhance MOAB/DAGMC-related classes #49
Workflow file for this run
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: | |
image: mambaorg/micromamba:bookworm-slim | |
options: --user=root | |
strategy: | |
matrix: | |
python-version: [3.9] | |
steps: | |
- name: Install system packages | |
run: | | |
apt update | |
apt install -y git libgl1 libglu1-mesa libxrender1 libxcursor1 libxft2 libxinerama1 | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up conda dependencies | |
shell: _entrypoint.sh /bin/bash --noprofile --norc -eo pipefail {0} | |
run: | | |
micromamba install -c conda-forge python=${{ matrix.python-version }} moab | |
- name: Install dependencies | |
shell: _entrypoint.sh /bin/bash --noprofile --norc -eo pipefail {0} | |
run: | | |
python -m pip install -r requirements.ci.txt | |
- name: Test with pytest | |
shell: _entrypoint.sh /bin/bash --noprofile --norc -eo pipefail {0} | |
run: | | |
python -m pytest |