File tree 1 file changed +18
-10
lines changed
1 file changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,15 @@ jobs:
66
66
# uses: pyansys/pydpf-actions/[email protected]
67
67
68
68
- 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
74
78
75
79
- uses : codecov/codecov-action@v3
76
80
env :
@@ -125,11 +129,15 @@ jobs:
125
129
# uses: pyansys/pydpf-actions/[email protected]
126
130
127
131
- 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
133
141
134
142
- uses : codecov/codecov-action@v3
135
143
env :
You can’t perform that action at this time.
0 commit comments