Skip to content

Refactor and enhance MOAB/DAGMC-related classes #49

Refactor and enhance MOAB/DAGMC-related classes

Refactor and enhance MOAB/DAGMC-related classes #49

Workflow file for this run

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