From 588b9b8fed2ecda26e234ea0881be1ce9a8bf832 Mon Sep 17 00:00:00 2001 From: Caio <117518+caiosba@users.noreply.github.com> Date: Wed, 6 Nov 2024 19:42:24 -0300 Subject: [PATCH] Trying to fix --- .github/workflows/ci-test-pr.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-test-pr.yml b/.github/workflows/ci-test-pr.yml index a27967e4..e2a86470 100644 --- a/.github/workflows/ci-test-pr.yml +++ b/.github/workflows/ci-test-pr.yml @@ -112,9 +112,13 @@ jobs: mkdir -p /tmp/go/src/github.com/codeclimate git clone -b 0.10.3 https://github.com/codeclimate/test-reporter /tmp/go/src/github.com/codeclimate/test-reporter cd test - echo '------ .resultset.json START ------' + echo '------ .resultset.json START 1 ------' cat .resultset.json # Debugging - echo '------- .resultset.json END -------' + echo '------- .resultset.json END 1 -------' + sed -i 's/\/app\//\/home\/runner\/work\/pender\//g' .resultset.json # Convert container-paths to local-paths + echo '------ .resultset.json START 2 ------' + cat .resultset.json # Debugging + echo '------- .resultset.json END 2 -------' GIT_COMMIT_SHA=$GIT_SHA GIT_COMMITTED_AT=$GIT_COMMITTED_AT ./cc-test-reporter format-coverage .resultset.json -t simplecov -o codeclimate.json -d cat codeclimate.json # cat codeclimate.json | sed 's/\/app\///g' | ./cc-test-reporter upload-coverage -r $cc_test_reporter_id --input -