File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed
Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 3838 if : ${{ needs.check-commits.outputs.recent_examples_commit == 'true' || needs.check-commits.outputs.recent_gmt_commit == 'true' || github.event_name == 'workflow_dispatch'}}
3939 runs-on : self-hosted
4040 steps :
41+ - name : Initialize Energy Estimation
42+ uses : green-coding-berlin/eco-ci-energy-estimation@main
43+ with :
44+ task : start-measurement
45+
4146 - name : Checkout Examples Directory
4247 uses : actions/checkout@v3
4348 with :
5055 submodules : ' true'
5156 path : green-metrics-tool
5257
53-
5458 - name : ' Setup, Run, and Teardown Tests'
5559 uses : green-coding-berlin/green-metrics-tool/.github/actions/gmt-pytest@dev
5660 with :
5963 tests-directory : ' ./examples-directory/test'
6064 tests-command : ' pytest smoke_test.py -k "test_all_directories"'
6165 github-token : ${{ secrets.GITHUB_TOKEN }}
66+
67+ - name : Energy Estimation - Get Measurement
68+ uses : green-coding-berlin/eco-ci-energy-estimation@main
69+ with :
70+ task : get-measurement
71+
72+ - name : Energy Estimation - End Measurement
73+ uses : green-coding-berlin/eco-ci-energy-estimation@main
74+ with :
75+ task : end-measurement
76+
Original file line number Diff line number Diff line change 4040 runs-on : ubuntu-latest
4141
4242 steps :
43+ - name : Initialize Energy Estimation
44+ uses : green-coding-berlin/eco-ci-energy-estimation@main
45+ with :
46+ task : start-measurement
47+
4348 - name : Checkout Examples Directory
4449 uses : actions/checkout@v3
4550 with :
6166 tests-directory : ' ./examples-directory/test'
6267 tests-command : ' pytest smoke_test.py -k "test_all_directories"'
6368 github-token : ${{ secrets.GITHUB_TOKEN }}
69+
70+ - name : Energy Estimation - Get Measurement
71+ uses : green-coding-berlin/eco-ci-energy-estimation@main
72+ with :
73+ task : get-measurement
74+
75+ - name : Energy Estimation - End Measurement
76+ uses : green-coding-berlin/eco-ci-energy-estimation@main
77+ with :
78+ task : end-measurement
You can’t perform that action at this time.
0 commit comments