Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
f243fdb
Add gate module in src/ansys/dpf/
PProfizi Apr 19, 2023
16849b6
remove ansys-dpf-gate from direct dependencies
PProfizi Apr 19, 2023
cf4da1b
Add grpc/dpf module to src/ansys/
PProfizi Apr 19, 2023
e7213bf
remove ansys-grpc-dpf from requirements_dev.txt
PProfizi Apr 19, 2023
ede7512
Fix assert in test_data_tree.py/test_runtime_core_config
PProfizi Apr 20, 2023
48700e2
Temporary fix to dpf_mesh_to_vtk_py
PProfizi Apr 20, 2023
5a2acb2
By default ignore changes to src/ansys/dpf/gate, ansys/dpf/gatebin an…
PProfizi Apr 20, 2023
8b0137d
Remove requirements_dev.txt with gatebin
PProfizi Apr 20, 2023
9c78323
Add gatebin for windows directly
PProfizi Apr 20, 2023
d440f84
Revert "Remove requirements_dev.txt with gatebin"
PProfizi Apr 20, 2023
585b896
Remove gatebin from requirements_dev.txt
PProfizi Apr 20, 2023
08828ca
Refactor package for single wheel
PProfizi Apr 20, 2023
9c2a90d
Add manylinux_1 versions of gatebin binaries
PProfizi Apr 20, 2023
516c5e3
Add grpcio as dependency (was working due to something in requirement…
PProfizi Apr 20, 2023
f6013a7
Add google-api-python-client as dependency (was working due to someth…
PProfizi Apr 20, 2023
6045767
Exclude gate, gatebin and grpc from api-doc generation
PProfizi Apr 20, 2023
25d774c
Fix title underlines in examples
PProfizi Apr 20, 2023
fea1aa7
Update .gitignore
PProfizi Apr 20, 2023
2a5fe22
Update .pre-commit-config.yaml
PProfizi Apr 20, 2023
cd66c96
Move everything into src/ansys/dpf/core, also move grpc to src/ansys/…
PProfizi Apr 21, 2023
2a9044b
Fix imports due to refactor
PProfizi Apr 21, 2023
c9a4a56
Fix imports due to refactor
PProfizi Apr 21, 2023
8ee7b0f
Add missing refactored files
PProfizi Apr 21, 2023
0107d26
Fix gate/load_pi.py/_try_use_gatebin()
PProfizi Apr 21, 2023
76c1bea
Merge branch 'master' into maint/integrate_pygate
PProfizi Apr 21, 2023
d3fe97c
Fix gate/load_pi.py/_find_outdated_ansys_version()
PProfizi Apr 21, 2023
a9af2fa
Add .so gatebin binaries
PProfizi Apr 21, 2023
dc7dc44
Fix expected path to gatebin module in test_service.py
PProfizi Apr 21, 2023
71c6b57
Update codacy.yml and .gitignore
PProfizi Apr 21, 2023
0d3f558
Try and fix 02-volume_averaged_stress.py for Docker
PProfizi Apr 21, 2023
8d7795a
Fix 04-extrapolation_stress_3d.py for Docker
PProfizi Apr 21, 2023
5beed3d
Switch to setuptools as backend building tool to allow for several pa…
PProfizi Apr 24, 2023
df68a6c
Fix ansys/grpc/dpf instead of ansys/dpf/grpc in ignores
PProfizi Apr 24, 2023
1f6706e
Revert operators/math changes due to testing
PProfizi Apr 24, 2023
7268dfe
Include ansys.dpf.gate.generated in packaged packages
PProfizi Apr 24, 2023
9cb010f
Include all in setup("packages")
PProfizi Apr 25, 2023
2854f72
Revert changes to 04-extrapolation_stress_3d.py
PProfizi Apr 25, 2023
219e4d6
Add a 10mn timeout to Test API Entry on Docker
PProfizi Apr 25, 2023
e442c1b
Try fix elemental_nodal_to_nodal_fc.outputs[1].type_names
PProfizi Apr 25, 2023
60502af
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/
PProfizi Apr 25, 2023
2ab3265
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/
PProfizi Apr 25, 2023
1c22e2e
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/
PProfizi Apr 25, 2023
f94be67
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/
PProfizi Apr 25, 2023
221431e
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/
PProfizi Apr 25, 2023
387293b
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/
PProfizi Apr 25, 2023
9f7ef26
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/
PProfizi Apr 25, 2023
fe1acf7
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/
PProfizi Apr 25, 2023
6e34cee
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/
PProfizi Apr 25, 2023
b91ca50
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/
PProfizi Apr 25, 2023
9a25b0a
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/
PProfizi Apr 25, 2023
9c8db29
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/ as well …
PProfizi Apr 25, 2023
0fdc616
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/ as well …
PProfizi Apr 25, 2023
7fd82ac
update_operators.yml now unzips ansys_grpc_dpf in src/ansys/ as well …
PProfizi Apr 25, 2023
c9b4717
Improve debugging for operators/build;py
PProfizi Apr 25, 2023
bed5415
Temp hack to bypass broken operators sweeping_phase specs
PProfizi Apr 25, 2023
3365713
Revert "Temp hack to bypass broken operators sweeping_phase specs"
PProfizi Apr 26, 2023
5bbba2c
Temporarily bypass the mesh_to_vtk operator
PProfizi Apr 26, 2023
f79f67c
Fix use of input standalone-suffix
PProfizi Apr 26, 2023
0b8bffe
update operators (#916)
github-actions[bot] Apr 26, 2023
2cf5e0e
Remove previous grpc and gate files and force git add
PProfizi Apr 26, 2023
de4039f
Merge remote-tracking branch 'origin/maint/integrate_pygate' into mai…
PProfizi Apr 26, 2023
6ea33c6
Merge branch 'master' into maint/integrate_pygate
PProfizi Apr 26, 2023
6175b30
Merge branch 'master' into maint/integrate_pygate
PProfizi Apr 26, 2023
6c7b291
Merge branch 'master' into maint/integrate_pygate
PProfizi Apr 27, 2023
ab5f3d6
Merge branch 'master' into maint/integrate_pygate
PProfizi Apr 27, 2023
a910c3c
Still bypass mesh_to_pyvista_op
PProfizi Apr 27, 2023
d80edc2
Bypass bug on plot for 00-compute_and_average.py
PProfizi Apr 27, 2023
9adc885
Move all metadata to pyproject.toml, keep setup.py for retro-compatib…
PProfizi Apr 27, 2023
2f43b1d
Merge branch 'master' into maint/integrate_pygate
PProfizi Apr 27, 2023
494d72a
Add update_dpf_dependencies.py script
PProfizi May 15, 2023
bbedb80
Add update_dpf_dependencies.py script
PProfizi May 15, 2023
cf35e7d
Remove support for 221 (incompatible with this refactoring of the pac…
PProfizi May 15, 2023
5f1135c
Merge branch 'master' into maint/integrate_pygate
PProfizi Jul 18, 2023
de93666
Merge branch 'master' into maint/integrate_pygate
PProfizi Jul 18, 2023
0df8e05
Updated dpf dependencies
PProfizi Jul 18, 2023
594f56b
Updated dpf dependencies
PProfizi Jul 18, 2023
17e9a62
Merge remote-tracking branch 'origin/maint/integrate_pygate' into mai…
PProfizi Jul 18, 2023
7629a71
Merge branch 'master' into maint/integrate_pygate
PProfizi Jul 18, 2023
f321d17
Updated dpf dependencies
PProfizi Jul 18, 2023
4ccf5c4
Updated dpf dependencies
PProfizi Jul 18, 2023
431278c
Updated dpf dependencies
PProfizi Jul 18, 2023
0fdde42
Merge remote-tracking branch 'origin/maint/integrate_pygate' into mai…
PProfizi Jul 18, 2023
40f60f6
Updated dpf dependencies
PProfizi Jul 18, 2023
a769617
Add missing generic_data_container_pb2.py and generic_data_container_…
PProfizi Jul 19, 2023
dfc67f2
Update with latest dist from dpf-standalone
PProfizi Jul 19, 2023
2cf8dd9
Merge branch 'master' into maint/integrate_pygate
PProfizi Jul 19, 2023
61b1a8b
Update with latest dist from dpf-standalone
PProfizi Jul 19, 2023
30e0bce
Remove custom requirements and custom wheels inputs and parameters fr…
PProfizi Jul 19, 2023
70a225f
Merge branch 'master' into maint/integrate_pygate
PProfizi Aug 3, 2023
9e51db0
Rename ANSYS_DPF_GATE_ROOT -> ANSYSDPFPYGATE_ROOT, ANSYS_DPF_GRPC_ROO…
PProfizi Aug 7, 2023
f5d83cb
update operators (#1109)
github-actions[bot] Aug 8, 2023
d9f56ea
Merge branch 'master' into maint/integrate_pygate
PProfizi Aug 8, 2023
64536c4
Fix gatebin integration and core.helpers integration
PProfizi Aug 9, 2023
8cb01f5
Use branches _integrate_gate for dpf-standalone
PProfizi Aug 9, 2023
accad6c
Fix test_load_api_without_awp_root_no_gatebin
PProfizi Aug 9, 2023
55cf8fe
Fix gate.load_api._try_use_gatebin
PProfizi Aug 9, 2023
d3c52cb
Set branch for update_operators.yml to _test_pygate
PProfizi Aug 30, 2023
007d8ab
Update update_dpf_dependencies.py for debug
PProfizi Aug 30, 2023
2dfcf5d
Update update_dpf_dependencies.py for improved path treatment
PProfizi Aug 30, 2023
68a481a
Update Operators for DPF 241_test_pygate on maint/integrate_pygate (#…
github-actions[bot] Aug 31, 2023
eb830c3
Fix doc step
PProfizi Aug 31, 2023
945439c
Merge branch 'master' into maint/integrate_pygate
PProfizi Aug 31, 2023
72bdeaa
Make package discovery dynamic
PProfizi Aug 31, 2023
cbe3c27
Fix package_data
PProfizi Aug 31, 2023
6bed6a9
Fix build_doc.bat fluid images copy
PProfizi Aug 31, 2023
5ddc8f7
update operators (#1136)
github-actions[bot] Sep 6, 2023
35952af
Improve update PR text
PProfizi Sep 6, 2023
48086d6
Merge branch 'master' into maint/integrate_pygate
PProfizi Sep 6, 2023
f37f8c6
Set CI back to main dpf-standalone branches
PProfizi Sep 6, 2023
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
21 changes: 11 additions & 10 deletions .ci/build_doc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ call sphinx-apidoc -o ../docs/source/api ../src/ansys ../src/ansys/dpf/core/log.
../src/ansys/dpf/core/field_base.py ../src/ansys/dpf/core/cache.py ../src/ansys/dpf/core/misc.py ^
../src/ansys/dpf/core/check_version.py ../src/ansys/dpf/core/operators/build.py ../src/ansys/dpf/core/operators/specification.py ^
../src/ansys/dpf/core/vtk_helper.py ../src/ansys/dpf/core/label_space.py ../src/ansys/dpf/core/examples/python_plugins/* ^
../src/ansys/dpf/core/examples/examples.py ../src/ansys/dpf/core/property_fields_container.py ^
../src/ansys/dpf/core/examples/examples.py ../src/ansys/dpf/gate/* ../src/ansys/dpf/gatebin/* ../src/ansys/grpc/dpf/* ^
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

../src/ansys/dpf/core/property_fields_container.py ^
-f --implicit-namespaces --separate --no-headings
pushd .
cd ../docs/
Expand All @@ -15,14 +16,14 @@ dir

rem Patch pyVista issue with elemental plots

xcopy source\examples\04-advanced\02-volume_averaged_stress\sphx_glr_02-volume_averaged_stress_001.png build\html\_images\sphx_glr_02-volume_averaged_stress_001.png /y
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_001.png build\html\_images\sphx_glr_02-fluids_results_001.png /y
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_002.png build\html\_images\sphx_glr_02-fluids_results_002.png /y
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_003.png build\html\_images\sphx_glr_02-fluids_results_003.png /y
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_004.png build\html\_images\sphx_glr_02-fluids_results_004.png /y
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_005.png build\html\_images\sphx_glr_02-fluids_results_005.png /y
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_006.png build\html\_images\sphx_glr_02-fluids_results_006.png /y
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_007.png build\html\_images\sphx_glr_02-fluids_results_007.png /y
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_thumb.png build\html\_images\sphx_glr_02-fluids_results_thumb.png /y
xcopy source\examples\04-advanced\02-volume_averaged_stress\sphx_glr_02-volume_averaged_stress_001.png build\html\_images /y /f /i
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_001.png build\html\_images /y /f /i
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_002.png build\html\_images /y /f /i
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_003.png build\html\_images /y /f /i
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_004.png build\html\_images /y /f /i
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_005.png build\html\_images /y /f /i
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_006.png build\html\_images /y /f /i
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_007.png build\html\_images /y /f /i
xcopy source\examples\12-fluids\02-fluids_results\sphx_glr_02-fluids_results_thumb.png build\html\_images /y /f /i

popd
82 changes: 82 additions & 0 deletions .ci/update_dpf_dependencies.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
"""Script to update ansys-dpf-gate, ansys-dpf-gatebin and ansys-grpc-dpf based on repositories

This script should only be used to quickly test changes to any of these dependencies.
Actual commit of updated code should not occur.
The GitHub pipelines take care of the actual update in ansys-dpf-core.

Define environment variables to know where to get the code from:
- "DPFDV_ROOT" defines the DPF repo where ansys-grpc-dpf resides.
Will unzip the latest wheel built in DPF/proto/dist/.
- "ANSYSDPFPYGATE_ROOT" defines where the ansys-dpf-pygate repository resides.

It will update the current repo
or the repo defined by the environment variable "ANSYSDPFCORE_ROOT" if it exists.
"""
import os
import glob
import pathlib
import platform
import shutil
import zipfile


grpc_path_key = "DPFDV_ROOT"
gate_path_key = "ANSYSDPFPYGATE_ROOT"
core_path = pathlib.Path(__file__).parent.parent.resolve()
if "ANSYSDPFCORE_ROOT" in os.environ:
core_path = os.environ["ANSYSDPFCORE_ROOT"]

grpc_path = os.getenv(grpc_path_key, None)
gate_path = os.getenv(gate_path_key, None)

if grpc_path is not None:
# Update ansys-grpc-dpf with latest in proto/dist
print("Updating ansys.grpc.dpf")
dist_path = os.path.join(grpc_path, "proto", "dist", "*")
print(f"from {dist_path}")
destination = os.path.join(core_path, "src")
print(f"into {destination}")
latest_wheel = max(glob.glob(dist_path), key=os.path.getctime)
with zipfile.ZipFile(latest_wheel, 'r') as wheel:
for file in wheel.namelist():
# print(file)
if file.startswith('ansys/'):
wheel.extract(
file,
path=destination,
)
print("Done updating ansys-grpc-dpf")
else:
print(f"{grpc_path_key} environment variable is not defined. "
"Cannot update ansys-grpc-dpf.")

if gate_path is not None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it would be great to run the "cparser" step to generate ansys-dpf-gate/generated content

Copy link
Contributor

@anslpa anslpa Aug 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and generation of ansys-grpc-dpf

# Update ansys-dpf-gate
print("Updating ansys.dpf.gate")
dist_path = os.path.join(gate_path, "ansys-dpf-gate", "ansys")
print(f"from {dist_path}")
destination = os.path.join(core_path, "src", "ansys")
print(f"into {destination}")
shutil.copytree(
src=dist_path,
dst=destination,
dirs_exist_ok=True,
ignore=lambda directory, contents: ["__pycache__"] if directory[-5:] == "gate" else [],
)
print("Done updating ansys-dpf-gate")

# Update ansys-dpf-gatebin
print("Updating ansys.dpf.gatebin")
dist_path = os.path.join(gate_path, "ansys-dpf-gatebin", "ansys")
print(f"from {dist_path}")
destination = os.path.join(core_path, "src", "ansys")
print(f"into {destination}")
shutil.copytree(
src=dist_path,
dst=destination,
dirs_exist_ok=True,
)
print(f"Done updating ansys-dpf-gatebin for {platform.system()}")
else:
print(f"{gate_path_key} environment variable is not defined. "
"Cannot update ansys-dpf-gate or ansys-dpf-gatebin.")
5 changes: 3 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[flake8]
exclude = venv, src/ansys/dpf/core/operators, __init__.py, docs/build, .venv
exclude = venv, src/ansys/dpf/core/operators, __init__.py, docs/build, .venv, src/ansys/dpf/gate, src/ansys/dpf/gatebin, src/ansys/grpc/dpf
select = W191, W391, E115, E117, E122, E124, E125, E301, W291, W293, E225, E231, E303, E501, F401, F403
per-file-ignores = __init__.py:F401,F403
per-file-ignores =
__init__.py:F401,F403
count = True
max-complexity = 10
max-line-length = 100
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,6 @@ on:
description: 'Suffix of the branch on standalone'
required: false
default: ''
custom-requirements:
description: "Path to requirements.txt file to install"
required: false
type: string
default: 'requirements/requirements_dev.txt'
custom-wheels:
description: "extra pip --find-links argument to find custom dpf wheels"
required: false
type: string
default: './dpf-standalone/v241/dist'
custom-wheels-docker:
description: "extra pip --find-links argument to find custom dpf wheels"
required: false
type: string
default: './dpf-standalone/dist'


concurrency:
Expand Down Expand Up @@ -73,8 +58,6 @@ jobs:
wheel: true
wheelhouse: false
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' }}
secrets: inherit

docker_tests:
Expand All @@ -83,8 +66,6 @@ jobs:
with:
ANSYS_VERSION: "241"
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-docker || './dpf-standalone/dist' }}
secrets: inherit

docker_examples:
Expand All @@ -94,8 +75,6 @@ jobs:
ANSYS_VERSION: "241"
python_versions: '["3.8"]'
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-docker || './dpf-standalone/dist' }}
secrets: inherit

docs:
Expand All @@ -104,8 +83,6 @@ jobs:
with:
ANSYS_VERSION: "241"
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' }}
event_name: ${{ github.event_name }}
secrets: inherit

Expand All @@ -129,8 +106,6 @@ jobs:
ANSYS_VERSION: "241"
python_versions: '["3.8"]'
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' }}
secrets: inherit

retro_232:
Expand All @@ -142,7 +117,6 @@ jobs:
python_versions: '["3.8"]'
DOCSTRING: false
standalone_suffix: ''
custom-wheels: './dpf-standalone/v232/dist --pre'
secrets: inherit

retro_231:
Expand All @@ -153,7 +127,6 @@ jobs:
ANSYS_VERSION: "231"
python_versions: '["3.8"]'
DOCSTRING: false
custom-wheels: './.github'
secrets: inherit

retro_222:
Expand All @@ -164,18 +137,6 @@ jobs:
ANSYS_VERSION: "222"
python_versions: '["3.8"]'
DOCSTRING: false
custom-wheels: './.github'
secrets: inherit

retro_221:
name: "retro 221"
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
uses: ./.github/workflows/tests.yml
with:
ANSYS_VERSION: "221"
python_versions: '["3.8"]'
DOCSTRING: false
custom-wheels: './.github'
secrets: inherit

pydpf-post:
Expand All @@ -186,7 +147,5 @@ jobs:
ANSYS_VERSION: "241"
post_branch: "master"
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
18 changes: 1 addition & 17 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,6 @@ jobs:
DOCSTRING: false
secrets: inherit

retro_221:
name: "retro 221"
uses: ./.github/workflows/tests.yml
with:
ANSYS_VERSION: "221"
python_versions: '["3.8"]'
DOCSTRING: false
secrets: inherit

pydpf-post_241:
name: "PyDPF-Post with 241"
uses: ./.github/workflows/pydpf-post.yml
Expand Down Expand Up @@ -146,13 +137,6 @@ jobs:
ANSYS_VERSION: "222"
secrets: inherit

pydpf-post_221:
name: "PyDPF-Post with 221"
uses: ./.github/workflows/pydpf-post.yml
with:
ANSYS_VERSION: "221"
secrets: inherit

gate:
name: "gate"
uses: ./.github/workflows/gate.yml
Expand Down Expand Up @@ -182,7 +166,7 @@ jobs:
draft_release:
name: "Draft Release"
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
needs: [style, tests, docs, examples, retro_232, retro_231, retro_222, retro_221, gate, docker_tests]
needs: [style, tests, docs, examples, retro_232, retro_231, retro_222, gate, docker_tests]
runs-on: ubuntu-latest
steps:
- name: "Download artifacts"
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,6 @@ on:
required: false
type: string
default: ''
custom-requirements:
description: "Path to requirements.txt file to install"
required: false
type: string
default: ''
custom-wheels:
description: "extra pip '--find-links XXX' argument to find custom dpf wheels"
required: false
type: string
default: ''
event_name:
description: "Name of event calling"
required: true
Expand All @@ -50,16 +40,6 @@ on:
required: false
type: string
default: ''
custom-requirements:
description: "Path to requirements.txt file to install"
required: false
type: string
default: ''
custom-wheels:
description: "extra pip --find-links argument to find custom dpf wheels"
required: false
type: string
default: ''

env:
PACKAGE_NAME: ansys-dpf-core
Expand Down Expand Up @@ -103,9 +83,7 @@ jobs:
install_extras: plotting
wheel: false
wheelhouse: false
extra-pip-args: ${{ inputs.custom-wheels && format('--find-links {0}', inputs.custom-wheels) || '' }}
standalone_suffix: ${{ inputs.standalone_suffix }}
custom-requirements: ${{ inputs.custom-requirements }}

- name: "Setup headless display"
uses: pyvista/setup-headless-display-action@v1
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,6 @@ on:
required: false
type: string
default: ''
custom-requirements:
description: "Path to requirements.txt file to install"
required: false
type: string
default: ''
custom-wheels:
description: "extra pip --find-links argument to find custom dpf wheels"
required: false
type: string
default: ''
# Can be called manually
workflow_dispatch:
inputs:
Expand All @@ -45,16 +35,6 @@ on:
required: false
type: string
default: ''
custom-requirements:
description: "Path to requirements.txt file to install"
required: false
type: string
default: ''
custom-wheels:
description: "extra pip --find-links argument to find custom dpf wheels"
required: false
type: string
default: ''

env:
PACKAGE_NAME: ansys-dpf-core
Expand Down Expand Up @@ -107,9 +87,7 @@ jobs:
install_extras: plotting
wheelhouse: false
wheel: false
extra-pip-args: ${{ inputs.custom-wheels && format('--find-links {0}', inputs.custom-wheels) || '' }}
standalone_suffix: ${{ inputs.standalone_suffix }}
custom-requirements: ${{ inputs.custom-requirements }}

- name: "Prepare Testing Environment"
uses: ansys/pydpf-actions/[email protected]
Expand Down
Loading