@@ -23,64 +23,63 @@ jobs:
23
23
recent_examples_commit : ${{ steps.check_examples_commits.outputs.should_run }}
24
24
steps :
25
25
- id : check_gmt_commits
26
- uses : green-coding-berlin /green-ci-activity-checker@main
26
+ uses : green-coding-solutions /green-ci-activity-checker@main
27
27
with :
28
- repo : ' green-coding-berlin /green-metrics-tool'
28
+ repo : ' green-coding-solutions /green-metrics-tool'
29
29
branch : ' main'
30
30
31
31
- id : check_examples_commits
32
- uses : green-coding-berlin /green-ci-activity-checker@main
32
+ uses : green-coding-solutions /green-ci-activity-checker@main
33
33
with :
34
- repo : ' green-coding-berlin /example-applications'
34
+ repo : ' green-coding-solutions /example-applications'
35
35
branch : ' main'
36
36
workflow-id : 45266619
37
37
38
38
run-tests :
39
39
needs : check-commits
40
40
if : ${{ needs.check-commits.outputs.recent_examples_commit == 'true' || needs.check-commits.outputs.recent_gmt_commit == 'true' || github.event_name == 'workflow_dispatch'}}
41
- # runs-on: self-hosted
42
41
runs-on : ubuntu-latest
43
42
44
43
steps :
45
44
- name : Initialize Energy Estimation
46
- uses : green-coding-berlin /eco-ci-energy-estimation@main
45
+ uses : green-coding-solutions /eco-ci-energy-estimation@main
47
46
with :
48
47
task : start-measurement
49
48
50
49
- name : Checkout Examples Directory
51
- uses : actions/checkout@v3
50
+ uses : actions/checkout@v4
52
51
with :
53
52
path : examples-directory
54
53
55
54
- name : Checkout Green Metrics Tool
56
- uses : actions/checkout@v3
55
+ uses : actions/checkout@v4
57
56
with :
58
- repository : green-coding-berlin /green-metrics-tool
57
+ repository : green-coding-solutions /green-metrics-tool
59
58
submodules : ' true'
60
59
path : green-metrics-tool
61
60
ref : main
62
61
63
62
- name : Energy Estimation - Get Measurement
64
- uses : green-coding-berlin /eco-ci-energy-estimation@main
63
+ uses : green-coding-solutions /eco-ci-energy-estimation@main
65
64
with :
66
65
task : get-measurement
67
66
label : setup
68
67
69
68
- name : ' Setup, Run, and Teardown Tests'
70
- uses : green-coding-berlin /green-metrics-tool/.github/actions/gmt-pytest@main
69
+ uses : green-coding-solutions /green-metrics-tool/.github/actions/gmt-pytest@main
71
70
with :
72
71
metrics-to-turn-off : ' --categories RAPL Machine Sensors Debug CGroupV2 MacOS GPU'
73
72
gmt-directory : ' ./green-metrics-tool'
74
73
tests-command : ' pytest ../../examples-directory/test/smoke_test.py -k "test_all_directories"'
75
74
github-token : ${{ secrets.GITHUB_TOKEN }}
76
75
77
76
- name : Energy Estimation - Get Measurement
78
- uses : green-coding-berlin /eco-ci-energy-estimation@main
77
+ uses : green-coding-solutions /eco-ci-energy-estimation@main
79
78
with :
80
79
task : get-measurement
81
80
label : tests
82
81
83
82
- name : Energy Estimation - End Measurement
84
- uses : green-coding-berlin /eco-ci-energy-estimation@main
83
+ uses : green-coding-solutions /eco-ci-energy-estimation@main
85
84
with :
86
85
task : display-results
0 commit comments