-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/change-the-api-layout
- Loading branch information
Showing
1 changed file
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,11 +66,15 @@ jobs: | |
# uses: pyansys/pydpf-actions/[email protected] | ||
|
||
- name: 'Unit testing' | ||
timeout-minutes: 40 | ||
run: | | ||
testenv_s\Scripts\Activate.ps1 | ||
Set-Item -Path env:PYTHONMALLOC -Value "malloc" | ||
pytest --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest_solvers | ||
uses: nick-fields/retry@v2 | ||
with: | ||
max_attempts: 3 | ||
retry_on: error | ||
timeout_minutes: 40 | ||
command: | | ||
testenv_s\Scripts\Activate.ps1 | ||
Set-Item -Path env:PYTHONMALLOC -Value "malloc" | ||
pytest --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest_solvers | ||
- uses: codecov/codecov-action@v3 | ||
env: | ||
|
@@ -125,11 +129,15 @@ jobs: | |
# uses: pyansys/pydpf-actions/[email protected] | ||
|
||
- name: 'Unit testing' | ||
timeout-minutes: 40 | ||
run: | | ||
testenv\Scripts\Activate.ps1 | ||
Set-Item -Path env:PYTHONMALLOC -Value "malloc" | ||
pytest -n 6 --dist loadfile --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest | ||
uses: nick-fields/retry@v2 | ||
with: | ||
max_attempts: 3 | ||
retry_on: error | ||
timeout_minutes: 40 | ||
command: | | ||
testenv\Scripts\Activate.ps1 | ||
Set-Item -Path env:PYTHONMALLOC -Value "malloc" | ||
pytest -n 6 --dist loadfile --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest | ||
- uses: codecov/codecov-action@v3 | ||
env: | ||
|