Skip to content

Commit e5fc82b

Browse files
committed
Merge branch 'main' into feat/main_commands
2 parents eea116a + 4e93bf7 commit e5fc82b

File tree

98 files changed

+1389
-1564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1389
-1564
lines changed

.ci/build_matrix.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ LATEST=3 # for 'latest-ubuntu' and 'latest-ubuntu-student'
3030
ONLY_UBUNTU="${ONLY_UBUNTU:-false}"
3131

3232
# Do not process more than the $AUTH_USER_LIMIT_VERSIONS versions in above list
33-
AUTH_USER_LIMIT_VERSIONS="${AUTH_USER_LIMIT_VERSIONS:-3}"
33+
AUTH_USER_LIMIT_VERSIONS="${AUTH_USER_LIMIT_VERSIONS:-2}"
3434
AUTH_USER_LIMIT=$((LATEST+AUTH_USER_LIMIT_VERSIONS*3))
3535

3636
# Students licenses only last a year, hence $NON_AUTH_USER_LIMIT_VERSIONS cannot be more than 2.
@@ -87,13 +87,20 @@ for version in "${versions[@]}"; do
8787
echo " - Student: $ON_STUDENT"
8888
echo " - Ubuntu: $ON_UBUNTU"
8989

90-
# Early exiting if on Ubuntu only
90+
# Skipping if on Ubuntu only
9191
if [[ "$ON_UBUNTU" != "true" && "$ONLY_UBUNTU" == "true" ]]; then
9292
echo "Skipping non-ubuntu versions"
9393
echo ""
9494
continue
9595
fi
9696

97+
# Skipping student versions on auth_user
98+
if [[ "$auth_user" == "true" && "$ON_STUDENT" == "true" ]]; then
99+
echo "Skipping student versions when user is authenticated"
100+
echo ""
101+
continue
102+
fi
103+
97104
# main logic
98105
if [[ "$auth_user" == "true" ]]; then
99106
if [[ "$extended_testing" == "true" ]]; then

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ body:
8080
description: Run `python --version` to verify your Python version
8181
multiple: false
8282
options:
83-
- '3.9'
8483
- '3.10'
8584
- '3.11'
8685
- '3.12'

.github/ISSUE_TEMPLATE/examples.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ body:
5656
description: Run `python --version` to verify your Python version
5757
multiple: false
5858
options:
59-
- '3.9'
6059
- '3.10'
6160
- '3.11'
6261
- '3.12'

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ env:
3333
DPF_PORT: 21004
3434
MAPDL_PACKAGE: ghcr.io/ansys/mapdl
3535
ON_CI: True
36-
PYTEST_ARGUMENTS: '-vvv --color=yes -ra --durations=10 --maxfail=3 --reruns 3 --reruns-delay 4 --cov=ansys.mapdl.core --cov-report=html'
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'
37+
3738
BUILD_CHEATSHEET: True
3839

3940
# Following env vars when changed will "reset" the mentioned cache,
@@ -820,7 +821,7 @@ jobs:
820821
821822
- name: "Unit testing requirements installation"
822823
run: |
823-
python -m pip install pytest pytest-rerunfailures pytest-cov
824+
python -m pip install pytest pytest-rerunfailures pytest-cov pytest-random-order
824825
825826
- name: "Unit testing"
826827
env:

doc/changelog.d/3519.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
refactor: testing suite (random order)

doc/changelog.d/3556.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
refactor: increase post module coverage

doc/changelog.d/3560.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
refactor: using find_mapdl instead of find_ansys
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ci: skipping student versions when user is authenticated
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build: bump grpcio from 1.67.1 to 1.68.0 in the grpc-deps group
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build: bump the core group with 2 updates

0 commit comments

Comments
 (0)