File tree 2 files changed +49
-0
lines changed
2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ lint :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - uses : conda-incubator/setup-miniconda@v3
11
+ with :
12
+ activate-environment : lint
13
+ python-version : 3.11
14
+ - name : Install dependencies
15
+ run : |
16
+ python -m pip install --upgrade pip
17
+ pip install -e .[dev]
18
+ - name : Run lint check
19
+ run : |
20
+ black --diff --check .
Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ tests :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v3
10
+ - uses : conda-incubator/setup-miniconda@v3
11
+ with :
12
+ python-version : 3.11
13
+ mamba-version : " *"
14
+ activate-environment : tagged-meshes
15
+ channels : conda-forge,defaults
16
+ channel-priority : true
17
+ environment-file : environment.yml
18
+ - shell : bash -el {0}
19
+ run : |
20
+ mamba info
21
+ mamba install -y -c conda-forge -c cadquery cadquery=master
22
+ mamba install -y -c conda-forge gmsh
23
+ mamba install -y pytest
24
+ python -m pytest -v
25
+ - name : Upload output meshes as artifacts for inspection
26
+ uses : actions/upload-artifact@v3
27
+ with :
28
+ name : exported-meshes
29
+ path : " *.msh"
You can’t perform that action at this time.
0 commit comments