Skip to content

In memory brep passing to gmsh iteration 2 #104

In memory brep passing to gmsh iteration 2

In memory brep passing to gmsh iteration 2 #104

Workflow file for this run

# This CI will launch a Docker image that contains all the dependencies required
# within that image the pytest test suite is run
name: CI with install
on:
pull_request:
branches:
- develop
- main
paths-ignore:
- 'docs/**'
- '.gitignore'
- '*.md'
- 'CITATION.cff'
- 'LICENSE.txt'
- 'readthedocs.yml'
jobs:
testing:
runs-on: ubuntu-latest
container:
image: continuumio/miniconda3:4.12.0
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: install non pypi dependencies for cad creation
run: |
sudo apt-get --allow-releaseinfo-change update
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install -y libgl1-mesa-glx libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libosmesa6 libosmesa6-dev libgles2-mesa-dev
sudo apt-get install -y libpangocairo-1.0-0
conda install -c conda-forge mamba
mamba install install -c conda-forge moab gmsh python-gmsh -y
mamba install -c "cadquery/label/dev" ocp
pip install git+https://github.com/CadQuery/cadquery.git@imprinting
mamba install -c conda-forge -y "openmc=0.13.3=dagmc*nompi*"
- name: install package
run: |
pip install .
python -c "import cad_to_dagmc"
- name: run examples
run: |
cd examples
python create_stp_files_for_examples.py
- name: run examples
run: |
cd examples
python cadquery_assembly.py
- name: run examples
run: |
cd examples
python cadquery_compound.py
- name: run examples
run: |
cd examples
python cadquery_object_and_stp_file.py
- name: run examples
run: |
cd examples
python cadquery_text.py
- name: run examples 1
run: |
cd examples
python curved_cadquery_object.py
- name: run examples 2
run: |
cd examples
python multiple_cadquery_objects.py
- name: run examples 3
run: |
cd examples
python multiple_stp_files.py
- name: run examples 4
run: |
cd examples
python single_stp_file_multiple_volumes.py
- name: run examples 5
run: |
cd examples
- name: run examples 6
run: |
cd examples
python single_cadquery_object.py
- name: run examples 7
run: |
cd examples
python single_stp_file.py
- name: Run pytest
run: |
pip install .[tests]
pytest tests -v