Skip to content

Commit

Permalink
build: wait for glances to stop
Browse files Browse the repository at this point in the history
  • Loading branch information
akikanellis committed Apr 4, 2024
1 parent 7410f04 commit 5dfdee2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ jobs:
# run: just install-dependencies

- name: Stop Glances
run: kill ${{ steps.start-glances.outputs.pid }}
run: |
kill ${{ steps.start-glances.outputs.pid }}
while kill -0 ${{ steps.start-glances.outputs.pid }} 2> /dev/null; do
echo "Waiting for Glances to stop..."
sleep 1
done
echo "Glances stopped successfully."
- name: Upload Glances CSV
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 5dfdee2

Please sign in to comment.