diff --git a/.github/workflows/test_pyaedt.yml b/.github/workflows/test_pyaedt.yml index 66f0c70781..38a05b966a 100644 --- a/.github/workflows/test_pyaedt.yml +++ b/.github/workflows/test_pyaedt.yml @@ -74,18 +74,19 @@ jobs: pip install --no-cache-dir external/pyaedt[tests] # Copy-Item -Path "C:\actions-runner\opengl32.dll" -Destination ".venv\Lib\site-packages\vtkmodules" -Force - - name: 'Pyaedt tests with plot' - run: | - .\.venv\Scripts\Activate.ps1 - Set-Item -Path env:PYTHONMALLOC -Value "malloc" - pytest -vv --cov=external/pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml external\pyaedt\_unittest\test_02_2D_modeler.py + # - name: 'Pyaedt tests with plot' + # run: | + # .\.venv\Scripts\Activate.ps1 + # Set-Item -Path env:PYTHONMALLOC -Value "malloc" + # pytest -vv --cov=external/pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml external\pyaedt\_unittest\test_02_2D_modeler.py - # uses: nick-fields/retry@v2 - # with: - # max_attempts: 1 - # retry_on: error - # timeout_minutes: 80 - # command: | - # .\.venv\Scripts\Activate.ps1 - # Set-Item -Path env:PYTHONMALLOC -Value "malloc" - # pytest --durations=50 -v --cov=external/pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml external\pyaedt\_unittest\test_12_1_PostProcessing.py::TestClass::test_14_Field_Ploton_cutplanedesignname + uses: nick-fields/retry@v2 + with: + max_attempts: 3 + retry_on: error + timeout_minutes: 50 + command: | + .\.venv\Scripts\Activate.ps1 + Set-Item -Path env:PYTHONMALLOC -Value "malloc" + # pytest --durations=50 -v --cov=external/pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml external\pyaedt\_unittest\test_12_1_PostProcessing.py::TestClass::test_14_Field_Ploton_cutplanedesignname + pytest -n 6 --dist loadfile --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml external\pyaedt\_unittest