Update data_tests.yml

This commit is contained in:
khagen 2023-10-05 21:35:20 +02:00 committed by GitHub
parent 7149ba10bc
commit d67cc4d09a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 3 deletions

View File

@ -7,10 +7,22 @@ on:
jobs:
measure-energy:
runs-on: ubuntu-latest
name: Run power usage check
name: A job to measure energy
steps:
- run: sar -u 1 240 -o test.txt
- run: cat test.txt
- name: Hello world action step
id: hello
uses: koenhagen/measure-energy-action@v1.0
with:
what-to-test: sleep 60
# Use the output from the `hello` step
- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.time }}"
# measure-energy:
# runs-on: ubuntu-latest
# name: Run power usage check
# steps:
# - run: sar -u 1 240 -o test.txt
# - run: cat test.txt
test:
runs-on: ubuntu-latest
strategy: