Skip to content

Commit

Permalink
action
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Nov 23, 2023
1 parent cf62a2c commit d5a9cad
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test_pyaedt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,21 @@ jobs:
name: "Check pyaedt tests when pyedb is used as a dependency"
runs-on: [ windows, pyedb, self-hosted ]
steps:
- name: "Install Git and clone project"
- name: Install Git and clone project
uses: actions/checkout@v4

- name: "Set up Python"
- name: Set up Python
uses: ansys/actions/_setup-python@main
with:
python-version: '3.10'
use-cache: false

- name: Set up headless display
if: env.SKIP_UNSTABLE == 'false'
uses: pyvista/setup-headless-display-action@v2

- name: Create Python venv
run: |
Remove-Item D:\Temp\* -Recurse -Force -ErrorAction SilentlyContinue
python -m venv .venv
.\.venv\Scripts\Activate.ps1
Expand Down Expand Up @@ -83,4 +86,4 @@ jobs:
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
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

0 comments on commit d5a9cad

Please sign in to comment.