Skip to content

Commit

Permalink
build: move glances
Browse files Browse the repository at this point in the history
  • Loading branch information
akikanellis committed Apr 4, 2024
1 parent 5dfdee2 commit 67d8042
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Install Glances
run: pip install glances

- name: Start Glances in background
id: start-glances
run: |
CSV_FILE=$(pwd)/glances.csv
glances --export=csv --export-csv-file=$CSV_FILE --quiet &
echo "pid=$!" >> "$GITHUB_OUTPUT"
echo "csv_path=$CSV_FILE" >> "$GITHUB_OUTPUT"

# - name: Free disk space
# uses: jlumbroso/[email protected]
Expand All @@ -48,6 +36,19 @@ jobs:
# renovate: datasource=docker depName=python versioning=docker
python-version: 3.12.2
cache: pip

- name: Install Glances
run: pip install glances

- name: Start Glances in background
id: start-glances
run: |
CSV_FILE=$(pwd)/glances.csv
glances --export=csv --export-csv-file=$CSV_FILE --quiet &
echo "pid=$!" >> "$GITHUB_OUTPUT"
echo "csv_path=$CSV_FILE" >> "$GITHUB_OUTPUT"
#
# - name: Update apt
# run: sudo apt update
Expand Down

0 comments on commit 67d8042

Please sign in to comment.