Skip to content

Commit

Permalink
CI: Reorder tests to avoid numpy issue (#989)
Browse files Browse the repository at this point in the history
* CI: See how CI behaves with other cases

* Revert "CI: See how CI behaves with other cases"

This reverts commit da26422.

* CI: Reorder tests run to avoid numpy pb
  • Loading branch information
SMoraisAnsys authored Jan 21, 2025
1 parent e804b3a commit 2e15f33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,8 @@ jobs:
. .venv/bin/activate
pytest -n auto --dist loadfile --durations=50 -v external/pyaedt/tests/system/general/
# FIXME: The need to run test_45_workflows first should be removed
# This is due to a strange behavior when using numpy2 and AEDT, see #987 and #989 for more information
- name: Run PyAEDT solvers tests
uses: nick-fields/retry@v3
env:
Expand All @@ -363,7 +365,8 @@ jobs:
command: |
export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT242 }}/common/mono/Linux64/lib64:$LD_LIBRARY_PATH
. .venv/bin/activate
pytest --durations=50 -v external/pyaedt/tests/system/solvers
pytest --durations=50 -v external/pyaedt/tests/system/solvers/test_45_workflows.py
pytest --durations=50 -v external/pyaedt/tests/system/solvers --deselect=external/pyaedt/tests/system/solvers/test_45_workflows.py
# =================================================================================================
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv RUNNING ON SELF-HOSTED RUNNER vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Expand Down

0 comments on commit 2e15f33

Please sign in to comment.