diff --git a/.github/workflows/ci.yml b/.github/workflows/ci_cuboid.yml similarity index 90% rename from .github/workflows/ci.yml rename to .github/workflows/ci_cuboid.yml index 1adc00c..e4caf37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci_cuboid.yml @@ -1,5 +1,5 @@ -name: CI with install +name: Cuboid on: pull_request: @@ -27,4 +27,4 @@ jobs: - name: Run tests run: | - pytest tests + pytest tests/test_csg_cad_sphere.py diff --git a/.github/workflows/ci_sphere.yml b/.github/workflows/ci_sphere.yml new file mode 100644 index 0000000..93fd8d1 --- /dev/null +++ b/.github/workflows/ci_sphere.yml @@ -0,0 +1,30 @@ + +name: sphere + +on: + pull_request: + branches: + - develop + - main + +jobs: + testing: + runs-on: ubuntu-latest + container: + image: continuumio/miniconda3 + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: install dependencies + run: | + conda install -c conda-forge mamba + mamba install -c cadquery -c conda-forge moab gmsh python-gmsh cadquery=master -y + + - name: install package with tests + run: | + pip install . + + - name: Run tests + run: | + pytest tests/test_csg_cad_sphere.py diff --git a/.github/workflows/ci_sphericalshell.yml b/.github/workflows/ci_sphericalshell.yml new file mode 100644 index 0000000..099078b --- /dev/null +++ b/.github/workflows/ci_sphericalshell.yml @@ -0,0 +1,30 @@ + +name: spherical shell + +on: + pull_request: + branches: + - develop + - main + +jobs: + testing: + runs-on: ubuntu-latest + container: + image: continuumio/miniconda3 + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: install dependencies + run: | + conda install -c conda-forge mamba + mamba install -c cadquery -c conda-forge moab gmsh python-gmsh cadquery=master -y + + - name: install package with tests + run: | + pip install . + + - name: Run tests + run: | + pytest tests/test_csg_cad_sphericalshell.py diff --git a/.github/workflows/ci_two_touching_cuboids.yml b/.github/workflows/ci_two_touching_cuboids.yml new file mode 100644 index 0000000..6ffda6e --- /dev/null +++ b/.github/workflows/ci_two_touching_cuboids.yml @@ -0,0 +1,30 @@ + +name: two touching cuboids + +on: + pull_request: + branches: + - develop + - main + +jobs: + testing: + runs-on: ubuntu-latest + container: + image: continuumio/miniconda3 + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: install dependencies + run: | + conda install -c conda-forge mamba + mamba install -c cadquery -c conda-forge moab gmsh python-gmsh cadquery=master -y + + - name: install package with tests + run: | + pip install . + + - name: Run tests + run: | + pytest tests/test_csg_cad_two_touching_cuboids.py