File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -188,4 +188,5 @@ jobs:
188
188
standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
189
189
custom-requirements : ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
190
190
custom-wheels : ${{ github.event.inputs.custom-wheels || './dpf-standalone/v241/dist' }}
191
+ test_docstrings : " true"
191
192
secrets : inherit
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ jobs:
122
122
with :
123
123
ANSYS_VERSION : " 241"
124
124
standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
125
+ test_docstrings : " true"
125
126
secrets : inherit
126
127
127
128
pydpf-post_232 :
Original file line number Diff line number Diff line change 26
26
required : false
27
27
type : string
28
28
default : ' '
29
+ test_docstrings :
30
+ description : " whether to run doctest"
31
+ required : false
32
+ type : string
33
+ default : " false"
29
34
# Can be called manually
30
35
workflow_dispatch :
31
36
inputs :
53
58
required : false
54
59
type : string
55
60
default : ' '
61
+ test_docstrings :
62
+ description : " whether to run doctest"
63
+ required : false
64
+ type : string
65
+ default : " false"
56
66
57
67
env :
58
68
PACKAGE_NAME : ansys-dpf-core
@@ -141,6 +151,7 @@ jobs:
141
151
MODULE : post
142
152
PACKAGE_NAME : ansys-dpf-post
143
153
working-directory : pydpf-post/src
154
+ if : inputs.test_docstrings == 'true'
144
155
145
156
- name : " Test API"
146
157
shell : bash
You can’t perform that action at this time.
0 commit comments