Skip to content

Commit

Permalink
CI: launch all integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Dec 22, 2023
1 parent dde13bf commit 9b274f4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ jobs:
- name: Execute legacy pyaedt integration examples
run: |
.\.venv\Scripts\Activate.ps1
Write-Host "Executing pyaedt integration example 03_5G_antenna_example.py"
$time = Measure-Command {python examples/legacy/pyaedt_integration/03_5G_antenna_example.py}
Write-Host "Time taken for example 03_5G_antenna_example.py: $($time.TotalSeconds) seconds"
# # Get-ChildItem -Path examples/legacy/pyaedt_integration -Filter *.py -File | ? { $_.Name -ne $excluded_example } | ForEach-Object {
# # Write-Host "Executing pyaedt integration example $($_.FullName)"
# # $time = Measure-Command {python $_.FullName}
# # Write-Host "Time taken for example $($_.FullName): $($time.TotalSeconds) seconds"
# # }
# Write-Host "Executing pyaedt integration example 03_5G_antenna_example.py"
# $time = Measure-Command {python examples/legacy/pyaedt_integration/03_5G_antenna_example.py}
# Write-Host "Time taken for example 03_5G_antenna_example.py: $($time.TotalSeconds) seconds"
Get-ChildItem -Path examples/legacy/pyaedt_integration -Filter *.py -File | ? { $_.Name -ne $excluded_example } | ForEach-Object {
Write-Host "Executing pyaedt integration example $($_.FullName)"
$time = Measure-Command {python $_.FullName}
Write-Host "Time taken for example $($_.FullName): $($time.TotalSeconds) seconds"
}

0 comments on commit 9b274f4

Please sign in to comment.