-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a minimal requirements file (#2443)
* Independence from click * Independence from request * Independence from tqm * ansys-tools-path independence * Skipping modules * Minimal ci job * independence from ATP * independence from ansys-mapdl-math * Independence from matplotlib * Bug in parameters * Removing pyvista * setting configuration * Adapting test to new setup * Removing pytest * Removing pymapdl from requirements Installing in two steps. * fixing missing import * installing pymapdl from repo, no pypi * fixing issues with dpf * fixing vm runs * Missing import * fixing write to array * Fixing wrong import * Avoiding MPI issue warning in Linux * fixing no mode when no ATP * Fixing mapdl not launching * Update the image cache * Adding missing import. * disabling license check when there is no ATP. * Externalising vms execution to a python file. * Removing unused env vars * avoiding circular import * Adding coverage artifacts * Adding missing packages for proper testing * Removing checking session ID and test * Fixing orphan imported functions * Fixing calling licensing tests functions which require ATP. * Using a more clear approach based on 'requires' function * Refactoring. Using `requires` instead of global vars. * Fix missing import and missing not * replacing negative conditions by positive ones --------- Co-authored-by: germa89 <[email protected]>
- Loading branch information
Showing
55 changed files
with
1,922 additions
and
541 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"""Run some vm manuals""" | ||
from ansys.mapdl.core import launch_mapdl | ||
from ansys.mapdl.core.examples import vmfiles | ||
|
||
mapdl = launch_mapdl() | ||
|
||
vms = list(vmfiles.keys()) | ||
|
||
for i, vm in enumerate(vms[:2]): | ||
mapdl.clear() | ||
print(f"Running the vm {i}: {vm}") | ||
output = mapdl.input(vmfiles[vm]) | ||
print(f"Running the vm {i}: Successfully completed") | ||
mapdl.exit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ansys-api-mapdl==0.5.1 | ||
importlib-metadata==6.8.0 | ||
numpy==1.26.1 | ||
platformdirs==3.11.0 | ||
psutil==5.9.6 | ||
pyansys-tools-versioning==0.5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.