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:
188188 standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
189189 custom-requirements : ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
190190 custom-wheels : ${{ github.event.inputs.custom-wheels || './dpf-standalone/v241/dist' }}
191+ test_docstrings : " true"
191192 secrets : inherit
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ jobs:
122122 with :
123123 ANSYS_VERSION : " 241"
124124 standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
125+ test_docstrings : " true"
125126 secrets : inherit
126127
127128 pydpf-post_232 :
Original file line number Diff line number Diff line change 2626 required : false
2727 type : string
2828 default : ' '
29+ test_docstrings :
30+ description : " whether to run doctest"
31+ required : false
32+ type : string
33+ default : " false"
2934# Can be called manually
3035 workflow_dispatch :
3136 inputs :
5358 required : false
5459 type : string
5560 default : ' '
61+ test_docstrings :
62+ description : " whether to run doctest"
63+ required : false
64+ type : string
65+ default : " false"
5666
5767env :
5868 PACKAGE_NAME : ansys-dpf-core
@@ -141,6 +151,7 @@ jobs:
141151 MODULE : post
142152 PACKAGE_NAME : ansys-dpf-post
143153 working-directory : pydpf-post/src
154+ if : inputs.test_docstrings == 'true'
144155
145156 - name : " Test API"
146157 shell : bash
You can’t perform that action at this time.
0 commit comments