File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -79,20 +79,22 @@ jobs:
79
79
# Actions checkout@v4 flakes as the repo contains non-resolving symlinks for the EE version
80
80
- name : Checkout Green Metrics Tool
81
81
run : |
82
- git checkout https://github.com/green-coding-solutions/green-metrics-tool
82
+ git clone https://github.com/green-coding-solutions/green-metrics-tool
83
83
84
84
- name : Energy Estimation - Get Measurement
85
85
uses : green-coding-solutions/eco-ci-energy-estimation@main
86
86
with :
87
87
task : get-measurement
88
88
label : setup
89
-
89
+
90
+ # we have to load the action manually, as when we link directly with "uses: ./.github/actions/gmt-pytest"
91
+ # GitHub flakes as it somehow chokes on the symlinks in the general green-metrics-tool repository
90
92
- name : ' Setup, Run, and Teardown Tests'
91
- uses : green-coding-solutions /green-metrics-tool/.github/actions/gmt-pytest@main
93
+ uses : . /green-metrics-tool/.github/actions/gmt-pytest
92
94
with :
93
- gmt-directory : ' ./green-metrics-tool'
94
- tests-command : ' pytest ../../examples-directory/test/smoke_test.py -k "test_all_directories"'
95
- github-token : ${{ secrets.GITHUB_TOKEN }}
95
+ gmt-directory : ' ./green-metrics-tool'
96
+ tests-command : ' pytest ../../examples-directory/test/smoke_test.py -k "test_all_directories"'
97
+ github-token : ${{ secrets.GITHUB_TOKEN }}
96
98
97
99
- name : Energy Estimation - Get Measurement
98
100
uses : green-coding-solutions/eco-ci-energy-estimation@main
You can’t perform that action at this time.
0 commit comments