Skip to content

Commit

Permalink
Moving to v4.0-rc3 and added machine-uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneTR authored and mrchrisadams committed Jun 19, 2024
1 parent 10e720f commit 1d2728f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,17 @@ jobs:

steps:
- name: Eco CI Energy Estimation - Initialize
uses: green-coding-solutions/eco-ci-energy-estimation@main
uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3
with:
task: start-measurement
company-uuid: "7f1d34f0-7666-4378-8d8f-d37cced7ccb0"
project-uuid: "a9946d61-149b-4757-99e5-aaac24acf289"
machine-uuid: "90a9ec92-0884-43bc-8b98-9a7885864307"
continue-on-error: true

- uses: actions/checkout@v4
- name: Eco CI Energy Estimation - Get Measurement
uses: green-coding-solutions/eco-ci-energy-estimation@main
uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3
with:
task: get-measurement
label: 'checkout'
Expand All @@ -62,7 +63,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Eco CI Energy Estimation - Get Measurement
uses: green-coding-solutions/eco-ci-energy-estimation@main
uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3
with:
task: get-measurement
label: 'setup-python'
Expand All @@ -72,7 +73,7 @@ jobs:
run: |
python -m pip install --upgrade uv wheel
- name: Eco CI Energy Estimation - Get Measurement
uses: green-coding-solutions/eco-ci-energy-estimation@main
uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3
with:
task: get-measurement
label: 'pip install uv wheel'
Expand All @@ -93,7 +94,7 @@ jobs:
uv venv
uv pip install -r requirements/requirements.linux.generated.txt
- name: Eco CI Energy Estimation - Get Measurement
uses: green-coding-solutions/eco-ci-energy-estimation@main
uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3
with:
task: get-measurement
label: 'pip install requirements'
Expand All @@ -120,14 +121,14 @@ jobs:
AWS_SHARED_CREDENTIALS_FILE: ${{ secrets.AWS_SHARED_CREDENTIALS_FILE }}
AWS_CONFIG_FILE: ${{ secrets.AWS_CONFIG_FILE }}
- name: Eco CI Energy Estimation - Get Measurement
uses: green-coding-solutions/eco-ci-energy-estimation@main
uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3
with:
task: get-measurement
label: 'pytest'
continue-on-error: true

- name: Eco CI Energy Estimation - End Measurement
uses: green-coding-solutions/eco-ci-energy-estimation@main
uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3
with:
task: display-results
pr-comment: true
Expand Down

0 comments on commit 1d2728f

Please sign in to comment.