24
24
PACKAGE_NAME : ' ansys-mapdl-core'
25
25
PACKAGE_NAMESPACE : ' ansys.mapdl.core'
26
26
DOCUMENTATION_CNAME : ' mapdl.docs.pyansys.com'
27
- LATEST_VERSION : " 242 "
27
+ LATEST_VERSION : " 252 "
28
28
MAPDL_IMAGE_VERSION_DOCS_BUILD : v24.2-ubuntu-student
29
29
MEILISEARCH_API_KEY : ${{ secrets.MEILISEARCH_API_KEY }}
30
30
MEILISEARCH_PUBLIC_API_KEY : ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}
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=40 '
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 '
37
37
38
38
BUILD_CHEATSHEET : True
39
+ PYMAPDL_DEBUG_TESTING : True
39
40
40
41
# Following env vars when changed will "reset" the mentioned cache,
41
42
# by changing the cache file name. It is rendered as ...-v%RESET_XXX%-...
@@ -337,7 +338,7 @@ jobs:
337
338
MAPDL_INSTANCE : MAPDL_0
338
339
LOG_NAMES : logs-build-docs
339
340
run : |
340
- .ci/collect_mapdl_logs .sh
341
+ .ci/collect_mapdl_logs_remote .sh
341
342
342
343
- name : " Upload logs to GitHub"
343
344
if : always()
@@ -352,7 +353,7 @@ jobs:
352
353
MAPDL_INSTANCE : MAPDL_0
353
354
LOG_NAMES : logs-build-docs
354
355
run : |
355
- .ci/display_logs .sh
356
+ .ci/display_logs_remote .sh
356
357
357
358
build-test-remote-matrix :
358
359
name : " Build remote test matrix"
@@ -577,7 +578,7 @@ jobs:
577
578
MAPDL_INSTANCE : MAPDL_0
578
579
LOG_NAMES : logs-remote-${{ matrix.mapdl-version }}
579
580
run : |
580
- .ci/collect_mapdl_logs .sh
581
+ .ci/collect_mapdl_logs_remote .sh
581
582
582
583
- name : " Upload logs to GitHub"
583
584
if : always()
@@ -592,7 +593,7 @@ jobs:
592
593
MAPDL_INSTANCE : MAPDL_0
593
594
LOG_NAMES : logs-remote-${{ matrix.mapdl-version }}
594
595
run : |
595
- .ci/display_logs .sh
596
+ .ci/display_logs_remote .sh
596
597
597
598
build-test-local-minimal-matrix :
598
599
name : " Build test matrix for minimal and local"
@@ -714,6 +715,27 @@ jobs:
714
715
--reset_only_failed --add_missing_images \
715
716
--cov-report=xml:${{ matrix.mapdl-version }}-local.xml
716
717
718
+ - name : " Collect logs on failure"
719
+ if : always()
720
+ env :
721
+ LOG_NAMES : logs-local-${{ matrix.mapdl-version }}
722
+ run : |
723
+ .ci/collect_mapdl_logs_locals.sh
724
+
725
+ - name : " Upload logs to GitHub"
726
+ if : always()
727
+ uses : actions/upload-artifact@master
728
+ with :
729
+ name : logs-local-${{ matrix.mapdl-version }}.tgz
730
+ path : ./logs-local-${{ matrix.mapdl-version }}.tgz
731
+
732
+ - name : " Display files structure"
733
+ if : always()
734
+ env :
735
+ LOG_NAMES : logs-local-${{ matrix.mapdl-version }}
736
+ run : |
737
+ .ci/display_logs_locals.sh
738
+
717
739
- name : " Adding the directory as safe directory for later step"
718
740
run : |
719
741
git config --global --add safe.directory $GITHUB_WORKSPACE
@@ -822,7 +844,7 @@ jobs:
822
844
823
845
- name : " Unit testing requirements installation"
824
846
run : |
825
- python -m pip install pytest pytest-rerunfailures pytest-cov pytest-random-order pyfakefs pytest-timeout
847
+ python -m pip install -r .ci/requirements_minimal.txt
826
848
827
849
- name : " Unit testing"
828
850
env :
@@ -851,6 +873,27 @@ jobs:
851
873
${{ env.PYTEST_ARGUMENTS }} \
852
874
--cov-report=xml:${{ matrix.mapdl-version }}-minimal.xml
853
875
876
+ - name : " Collect logs on failure"
877
+ if : always()
878
+ env :
879
+ LOG_NAMES : logs-minimal-${{ matrix.mapdl-version }}
880
+ run : |
881
+ .ci/collect_mapdl_logs_locals.sh
882
+
883
+ - name : " Upload logs to GitHub"
884
+ if : always()
885
+ uses : actions/upload-artifact@master
886
+ with :
887
+ name : logs-minimal-${{ matrix.mapdl-version }}.tgz
888
+ path : ./logs-minimal-${{ matrix.mapdl-version }}.tgz
889
+
890
+ - name : " Display files structure"
891
+ if : always()
892
+ env :
893
+ LOG_NAMES : logs-minimal-${{ matrix.mapdl-version }}
894
+ run : |
895
+ .ci/display_logs_locals.sh
896
+
854
897
- uses : codecov/codecov-action@v5
855
898
name : " Upload coverage to Codecov"
856
899
with :
@@ -930,7 +973,7 @@ jobs:
930
973
931
974
- name : " Unit testing requirements installation"
932
975
run : |
933
- python -m pip install pytest pytest-rerunfailures pytest-cov pytest-random-order pyfakefs pytest-timeout
976
+ python -m pip install -r .ci/requirements_minimal.txt
934
977
935
978
- name : " Unit testing"
936
979
env :
@@ -959,6 +1002,27 @@ jobs:
959
1002
${{ env.PYTEST_ARGUMENTS }} \
960
1003
--cov-report=xml:${{ matrix.mapdl-version }}-minimal-console.xml
961
1004
1005
+ - name : " Collect logs on failure"
1006
+ if : always()
1007
+ env :
1008
+ LOG_NAMES : logs-minimal-console-${{ matrix.mapdl-version }}
1009
+ run : |
1010
+ .ci/collect_mapdl_logs_locals.sh
1011
+
1012
+ - name : " Upload logs to GitHub"
1013
+ if : always()
1014
+ uses : actions/upload-artifact@master
1015
+ with :
1016
+ name : logs-minimal-console-${{ matrix.mapdl-version }}.tgz
1017
+ path : ./logs-minimal-console-${{ matrix.mapdl-version }}.tgz
1018
+
1019
+ - name : " Display files structure"
1020
+ if : always()
1021
+ env :
1022
+ LOG_NAMES : logs-minimal-console-${{ matrix.mapdl-version }}
1023
+ run : |
1024
+ .ci/display_logs_locals.sh
1025
+
962
1026
- uses : codecov/codecov-action@v5
963
1027
name : " Upload coverage to Codecov"
964
1028
with :
0 commit comments