diff --git a/.github/workflows/test_pyaedt.yml b/.github/workflows/test_pyaedt.yml index 842c074af4..be22815d4d 100644 --- a/.github/workflows/test_pyaedt.yml +++ b/.github/workflows/test_pyaedt.yml @@ -83,20 +83,20 @@ jobs: # Copy-Item C:\actions-runner\*.dll .venv\Lib\site-packages\vtkmodules -Force # 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' - 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 -vv --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml -k "not test_create_pdf and not test_16_read_hdm and not plt and not Ploton and not plot and not Plot" external\pyaedt\_unittest + run: | + .\.venv\Scripts\Activate.ps1 + Set-Item -Path env:PYTHONMALLOC -Value "malloc" + pytest -n 6 --dist loadfile --durations=50 -vv --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml -k "not test_create_pdf and not test_16_read_hdm and not plt and not Ploton and not plot and not Plot" external\pyaedt\_unittest + + # - name: 'Pyaedt tests' + # 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 -vv --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml -k "not test_create_pdf and not test_16_read_hdm and not plt and not Ploton and not plot and not Plot" external\pyaedt\_unittest