File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,11 +66,15 @@ jobs:
6666 # uses: pyansys/pydpf-actions/check-licenses@v2.0
6767
6868 - name : ' Unit testing'
69- timeout-minutes : 40
70- run : |
71- testenv_s\Scripts\Activate.ps1
72- Set-Item -Path env:PYTHONMALLOC -Value "malloc"
73- pytest --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest_solvers
69+ uses : nick-fields/retry@v2
70+ with :
71+ max_attempts : 3
72+ retry_on : error
73+ timeout_minutes : 40
74+ command : |
75+ testenv_s\Scripts\Activate.ps1
76+ Set-Item -Path env:PYTHONMALLOC -Value "malloc"
77+ pytest --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest_solvers
7478
7579 - uses : codecov/codecov-action@v3
7680 env :
@@ -125,11 +129,15 @@ jobs:
125129 # uses: pyansys/pydpf-actions/check-licenses@v2.0
126130
127131 - name : ' Unit testing'
128- timeout-minutes : 40
129- run : |
130- testenv\Scripts\Activate.ps1
131- Set-Item -Path env:PYTHONMALLOC -Value "malloc"
132- pytest -n 6 --dist loadfile --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest
132+ uses : nick-fields/retry@v2
133+ with :
134+ max_attempts : 3
135+ retry_on : error
136+ timeout_minutes : 40
137+ command : |
138+ testenv\Scripts\Activate.ps1
139+ Set-Item -Path env:PYTHONMALLOC -Value "malloc"
140+ pytest -n 6 --dist loadfile --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest
133141
134142 - uses : codecov/codecov-action@v3
135143 env :
You can’t perform that action at this time.
0 commit comments