Skip to content

Commit

Permalink
Update BuildAndTest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AloisKraus authored Apr 17, 2023
1 parent a93d8f8 commit 257fbdf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/BuildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
run: |
.\bin\Release\net6.0-windows\win-x64\ETWAnalyzer -extract all -fd ${{ env.EtlFileName }} -outdir Extract
shell: powershell -Command "& '{0}'"
# Start Test Profilng
# Start Test Profiling
- name: Start Test Profiling
run: |
$startTime = [System.Diagnostics.Stopwatch]::GetTimestamp()
Expand All @@ -113,7 +113,11 @@ jobs:
"TestRunTimeMs=$($runtimeMs)ms_$($date)" >> $env:GITHUB_ENV
$fileName = "ProfilingData\TestExecution_$($runtimeMs)ms$($env:ComputerName).$($date).etl"
wpr -stop $fileName -skipPdbGen
.\bin\Release\net6.0-windows\win-x64\ETWAnalyzer -extract all -fd $fileName -outdir Extract
"EtlFileName=$fileName" >> $env:GITHUB_ENV
- name: Extract Test Profiling Data
run: |
.\bin\Release\net6.0-windows\win-x64\ETWAnalyzer -extract all -fd ${{ env.EtlFileName }} -outdir Extract
shell: powershell -Command "& '{0}'"
- name: Upload Profiling Data
if: always()
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 257fbdf

Please sign in to comment.