File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -206,22 +206,26 @@ jobs:
206206 - name : " Test API Docstrings"
207207 shell : bash
208208 working-directory : src
209+ if : (inputs.DOCSTRING == 'true')
209210 run : |
210211 echo "TMP: "$TMP
211212 echo "TEMP: "$TEMP
212213 pytest --doctest-modules $DEBUG --junitxml=junit/test-doctests-results.xml ansys/dpf/core
213214
214215 - name : " Kill all servers"
215216 uses :
ansys/pydpf-actions/[email protected] 217+ if : (inputs.DOCSTRING == 'true')
216218
217219 - name : " Upload Docstring Test Results to artifacts"
218220 uses : actions/upload-artifact@v4
221+ if : (inputs.DOCSTRING == 'true')
219222 with :
220223 name : ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_doctest_${{ inputs.ANSYS_VERSION }}${{ inputs.test_any == 'true' && '_any' || '' }}
221224 path : src/junit/test-doctests-results.xml
222225
223226 - name : " Upload Docstring coverage to Codecov"
224227 uses : codecov/codecov-action@v4
228+ if : (inputs.DOCSTRING == 'true')
225229 with :
226230 token : ${{ secrets.CODECOV_TOKEN }} # required
227231 name : ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_doctest_${{ inputs.ANSYS_VERSION }}${{ inputs.test_any == 'true' && '_any' || '' }}.xml
You can’t perform that action at this time.
0 commit comments