removed unused functions #10
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: CI with model benchmark zoo | |
on: | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- 'docs/**' | |
- '.gitignore' | |
- '*.md' | |
- 'CITATION.cff' | |
- 'LICENSE.txt' | |
- 'readthedocs.yml' | |
push: | |
branches: | |
- main | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
container: | |
image: continuumio/miniconda3:23.3.1-0 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: install non pypi dependencies for cad creation | |
run: | | |
apt-get --allow-releaseinfo-change update | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get install -y libgl1-mesa-glx libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libosmesa6 libosmesa6-dev libgles2-mesa-dev libarchive-dev libpangocairo-1.0-0 | |
conda install -y -c conda-forge mamba | |
mamba install -c conda-forge -c cadquery ocp | |
mamba install -y -c cadquery -c conda-forge moab gmsh python-gmsh cadquery=master | |
- name: install package | |
run: | | |
pip install --upgrade pip | |
pip install .[tests] | |
python -c "import cad_to_dagmc" | |
mamba install -c conda-forge openmc -y | |
pip install cad_to_dagmc openmc_data_downloader | |
openmc_data_downloader -l ENDFB-7.1-NNDC -i Fe56 Be9 | |
- name: run benchmarks | |
env: | |
OPENMC_CROSS_SECTIONS: /__w/cad_to_dagmc/cad_to_dagmc/cross_sections.xml | |
run: | | |
git clone https://github.com/fusion-energy/model_benchmark_zoo.git | |
cd model_benchmark_zoo | |
pip install . | |
pytest tests/test_cad_to_dagmc |