Skip to content

Commit

Permalink
CI: retest all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Dec 21, 2023
1 parent 6e5cd5a commit abb5017
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
# name: "Check legacy examples"
# needs: [legacy-tests]
# runs-on: [ windows, pyedb, self-hosted ]
# env:
# env:
# PYEDB_CI_NO_DISPLAY: '1'
# steps:
# - name: "Install Git and clone project"
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,8 @@ jobs:
- name: Execute legacy pyaedt integration examples
run: |
. .venv\Scripts\Activate.ps1
Write-Host "Executing pyaedt integration example 09_Configuration.py"
python examples/legacy/pyaedt_integration/09_Configuration.py
#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): $($result.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): $($result.TotalSeconds) seconds"
}

0 comments on commit abb5017

Please sign in to comment.