-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: using an envvar to activate testing debugging * chore: adding changelog file 3594.maintenance.md [dependabot-skip] * fix: test logging name too long * fix: detecting comments as parameters sets when they have =. * fix: apply suggestions from code review * fix: script path name * fix: test * ci: using an external file for minimal requirements * fix: tests * refactor: moving dependency to requirement file * ci: fix files names. * fix: test * ci: adding logs to console --------- Co-authored-by: pyansys-ci-bot <[email protected]>
- Loading branch information
1 parent
59051c5
commit 121c3d0
Showing
11 changed files
with
155 additions
and
21 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,12 @@ | ||
|
||
mkdir "$LOG_NAMES" && echo "Successfully generated directory $LOG_NAMES" | ||
|
||
cp *.log ./"$LOG_NAMES"/ || echo "No log files could be found" | ||
cp *apdl.out ./"$LOG_NAMES"/ || echo "No APDL log files could be found" | ||
cp *pymapdl.apdl ./"$LOG_NAMES"/ || echo "No PYMAPDL APDL log files could be found" | ||
|
||
|
||
ls -la ./"$LOG_NAMES" | ||
|
||
echo "Tar files..." | ||
tar cvzf ./"$LOG_NAMES".tgz ./"$LOG_NAMES" || echo "Failed to compress" |
File renamed without changes.
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,19 @@ | ||
|
||
##### | ||
# Displaying files | ||
FILE_PAT=./"$LOG_NAMES"/pymapdl.log | ||
FILE_DESCRIPTION="PyMAPDL log" | ||
|
||
if compgen -G "$FILE_PAT" > /dev/null ;then for f in "$FILE_PAT"; do echo "::group:: $FILE_DESCRIPTION: $f" && cat "$f" && echo "::endgroup::" ; done; fi || echo "Failed to show $FILE_DESCRIPTION file" | ||
|
||
##### | ||
FILE_PAT=./"$LOG_NAMES"/pymapdl.apdl | ||
FILE_DESCRIPTION="PyMAPDL APDL log" | ||
|
||
if compgen -G "$FILE_PAT" > /dev/null ;then for f in "$FILE_PAT"; do echo "::group:: $FILE_DESCRIPTION: $f" && cat "$f" && echo "::endgroup::" ; done; fi || echo "Failed to show $FILE_DESCRIPTION file" | ||
|
||
##### | ||
FILE_PAT=./"$LOG_NAMES"/apdl.out | ||
FILE_DESCRIPTION="MAPDL Output" | ||
|
||
if compgen -G "$FILE_PAT" > /dev/null ;then for f in "$FILE_PAT"; do echo "::group:: $FILE_DESCRIPTION: $f" && cat "$f" && echo "::endgroup::" ; done; fi || echo "Failed to show $FILE_DESCRIPTION file" |
File renamed without changes.
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 @@ | ||
pyfakefs==5.7.2 | ||
pytest-cov==6.0.0 | ||
pytest-random-order==1.1.1 | ||
pytest-rerunfailures==15.0 | ||
pytest-timeout==2.3.1 | ||
pytest==8.3.4 |
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 @@ | ||
feat: activate debug mode on testing using `PYMAPDL_DEBUG_TESTING` envvar |
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