Skip to content

Commit d16ce0c

Browse files
committed
Restrict to non-retro
Signed-off-by: paul.profizi <[email protected]>
1 parent 65f5ee3 commit d16ce0c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)