In memory brep passing to gmsh iteration 2 #112
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
# 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: | | |
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 | |
apt-get install -y libpangocairo-1.0-0 | |
conda install -c conda-forge mamba | |
mamba install -c conda-forge moab gmsh python-gmsh -y | |
mamba install -c "cadquery/label/dev" ocp=7.7.1 | |
conda install -c cadquery cadquery=master ocp=7.7.1 | |
- 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 |