Skip to content

In memory brep passing to gmsh iteration 2 #121

In memory brep passing to gmsh iteration 2

In memory brep passing to gmsh iteration 2 #121

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
# container:
# image: continuumio/miniconda3:23.3.1-0
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
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
- 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 libarchive-dev
sudo apt-get install -y libpangocairo-1.0-0
conda install -c conda-forge mamba -y
mamba install -c cadquery ocp=7.7.1
conda install -c multimethod typish ezdxf nptyping nlopt casadi gmsh python-gmsh -y
mamba install -c cadquery -c conda-forge cadquery=master --no-deps -y
- 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