Skip to content

Commit

Permalink
Final run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Nov 27, 2023
1 parent a3c15a9 commit 8f0978d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/test_pyaedt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8f0978d

Please sign in to comment.