File tree Expand file tree Collapse file tree 5 files changed +10
-1
lines changed Expand file tree Collapse file tree 5 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
2
2
mkdir " $LOG_NAMES " && echo " Successfully generated directory $LOG_NAMES "
3
3
4
+ echo " Copying the log files..."
4
5
cp * .log ./" $LOG_NAMES " / || echo " No log files could be found"
5
6
cp * apdl.out ./" $LOG_NAMES " / || echo " No APDL log files could be found"
6
7
cp * pymapdl.apdl ./" $LOG_NAMES " / || echo " No PYMAPDL APDL log files could be found"
7
8
9
+ echo " Copying the profiling files..."
10
+ cp prof ./" $LOG_NAMES " /prof || echo " No profile files could be found"
11
+
8
12
9
13
ls -la ./" $LOG_NAMES "
10
14
Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ echo "Copying docker launch log..."
35
35
cp mapdl_launch_0.log ./" $LOG_NAMES " /mapdl_launch_0.log || echo " MAPDL launch docker log not found."
36
36
cp mapdl_launch_1.log ./" $LOG_NAMES " /mapdl_launch_1.log || echo " MAPDL launch docker log not found."
37
37
38
+ echo " Copying the profiling files..."
39
+ cp prof ./" $LOG_NAMES " /prof || echo " No profile files could be found"
40
+
38
41
echo " Collecting file structure..."
39
42
ls -R > ./" $LOG_NAMES " /files_structure.txt || echo " Failed to copy file structure to a file"
40
43
Original file line number Diff line number Diff line change 33
33
DPF_PORT : 21004
34
34
MAPDL_PACKAGE : ghcr.io/ansys/mapdl
35
35
ON_CI : True
36
- PYTEST_ARGUMENTS : ' -vvv -rxXsa --color=yes --durations=10 --random-order --random-order-bucket=class --maxfail=10 --reruns 3 --reruns-delay 4 --cov=ansys.mapdl.core --cov-report=html --timeout=180'
36
+ PYTEST_ARGUMENTS : ' -vvv -rxXsa --color=yes --durations=30 --random-order --random-order-bucket=class --maxfail=10 --reruns 3 --reruns-delay 4 --cov=ansys.mapdl.core --cov-report=html --timeout=180 --profile-svg --profile '
37
37
38
38
39
39
BUILD_CHEATSHEET : True
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ tests = [
63
63
" pyfakefs==5.7.3" ,
64
64
" pyiges[full]==0.3.1" ,
65
65
" pytest-cov==6.0.0" ,
66
+ " pytest-profiling==1.8.1" ,
66
67
" pytest-pyvista==0.1.9" ,
67
68
" pytest-random-order==1.1.1" ,
68
69
" pytest-rerunfailures==15.0" ,
Original file line number Diff line number Diff line change 57
57
# Setting testing environment
58
58
# ---------------------------
59
59
#
60
+ pytest_plugins = ["pytest_profiling" ]
60
61
61
62
DEBUG_TESTING = debug_testing ()
62
63
TESTING_MINIMAL = testing_minimal ()
You can’t perform that action at this time.
0 commit comments