Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,5 @@ jobs:
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
custom-wheels: ${{ github.event.inputs.custom-wheels || './dpf-standalone/v241/dist' }}
test_docstrings: "true"
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ jobs:
with:
ANSYS_VERSION: "241"
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
test_docstrings: "true"
secrets: inherit

pydpf-post_232:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/pydpf-post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ on:
required: false
type: string
default: ''
test_docstrings:
description: "whether to run doctest"
required: false
type: string
default: "false"
# Can be called manually
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -53,6 +58,11 @@ on:
required: false
type: string
default: ''
test_docstrings:
description: "whether to run doctest"
required: false
type: string
default: "false"

env:
PACKAGE_NAME: ansys-dpf-core
Expand Down Expand Up @@ -141,6 +151,7 @@ jobs:
MODULE: post
PACKAGE_NAME: ansys-dpf-post
working-directory: pydpf-post/src
if: inputs.test_docstrings == 'true'

- name: "Test API"
shell: bash
Expand Down