Skip to content

Commit

Permalink
Merge branch 'main' into feat/change-the-api-layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Revathyvenugopal162 authored Oct 5, 2023
2 parents ecb9ca7 + 68d1c76 commit 2580cac
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2580cac

Please sign in to comment.