-
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.
- Loading branch information
1 parent
fdbb94c
commit a6db30a
Showing
10 changed files
with
62 additions
and
24 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 |
---|---|---|
|
@@ -66,4 +66,7 @@ examples/.local | |
.ipynb_checkpoints/ | ||
|
||
# docker | ||
docker/mapdl/v211 | ||
docker/mapdl/v211 | ||
|
||
# temp testing | ||
tmp.out |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
"""Version of ansys-mapdl-core module.""" | ||
|
||
# major, minor, patch | ||
version_info = 0, 57, 5 | ||
version_info = 0, 57, 6 | ||
|
||
# Nice string for the version | ||
__version__ = '.'.join(map(str, version_info)) |
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
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 |
---|---|---|
|
@@ -27,9 +27,29 @@ | |
|
||
# check if the user wants to permit pytest to start MAPDL | ||
START_INSTANCE = get_start_instance() | ||
# if START_INSTANCE: | ||
# local.append(True) | ||
|
||
if os.name == 'nt': | ||
os_msg = """SET PYMAPDL_START_INSTANCE=False | ||
SET PYMAPDL_PORT=<MAPDL Port> (default 50052) | ||
SET PYMAPDL_IP=<MAPDL IP> (default 127.0.0.1)""" | ||
else: | ||
os_msg = """export PYMAPDL_START_INSTANCE=False | ||
export PYMAPDL_PORT=<MAPDL Port> (default 50052) | ||
export PYMAPDL_IP=<MAPDL IP> (default 127.0.0.1)""" | ||
|
||
ERRMSG = f"""Unable to run CI without MAPDL installed or accessible. | ||
Either install Ansys 2021R1 or newer or specify the remote server with: | ||
{os_msg} | ||
If you do have Ansys installed, you may have to patch pymapdl to | ||
automatically find your Ansys installation. Email the developer at: | ||
[email protected] | ||
""" | ||
|
||
if START_INSTANCE and EXEC_FILE is None: | ||
raise RuntimeError(ERRMSG) | ||
|
||
def pytest_addoption(parser): | ||
parser.addoption( | ||
|
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