Skip to content

Commit

Permalink
remove performance logging from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPesce committed Aug 19, 2024
1 parent ba16c7e commit 1844393
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@ jobs:
echo "ACTIONS_RUNNER_DEBUG=true" >> $GITHUB_ENV
echo "ACTIONS_STEP_DEBUG=true" >> $GITHUB_ENV
- name: Set up performance monitoring (Windows)
if: runner.os == 'Windows'
run: |
logman create counter "MyPerfLog" -f bincirc -max 50 -c "\Processor(_Total)\% Processor Time" "\Memory\Available MBytes" -si 10 -o perf_log.blg
logman start "MyPerfLog"
shell: pwsh

- name: Add theme to .env file
working-directory: ./electron/ui
run: |
Expand Down Expand Up @@ -128,13 +121,6 @@ jobs:
}
shell: pwsh

- name: Stop performance monitoring and upload logs (Windows)
if: runner.os == 'Windows'
run: |
logman stop "MyPerfLog"
Compress-Archive -Path perf_log.blg -DestinationPath perf_log.zip
shell: pwsh

- name: Upload artifact for screenshots & videos
uses: actions/upload-artifact@v4
if: always()
Expand All @@ -144,13 +130,6 @@ jobs:
electron/ui/cypress/screenshots/
electron/ui/cypress/videos/
- name: Upload Performance Logs
if: runner.os == 'Windows' && always()
uses: actions/upload-artifact@v4
with:
name: performance-logs-${{ matrix.os }}
path: perf_log.zip

pytest:
name: pytest (${{ matrix.os }})
runs-on: ${{ matrix.os-version }}
Expand Down

0 comments on commit 1844393

Please sign in to comment.