Skip to content

Commit

Permalink
added yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Aug 9, 2023
1 parent 511dadd commit 489f82b
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml → .github/workflows/ci_cuboid.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: CI with install
name: Cuboid

on:
pull_request:
Expand Down Expand Up @@ -27,4 +27,4 @@ jobs:
- name: Run tests
run: |
pytest tests
pytest tests/test_csg_cad_sphere.py
30 changes: 30 additions & 0 deletions .github/workflows/ci_sphere.yml
Original file line number Diff line number Diff line change
@@ -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
30 changes: 30 additions & 0 deletions .github/workflows/ci_sphericalshell.yml
Original file line number Diff line number Diff line change
@@ -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
30 changes: 30 additions & 0 deletions .github/workflows/ci_two_touching_cuboids.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 489f82b

Please sign in to comment.