aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Rysin <35688753+naspirato@users.noreply.github.com>2024-07-18 13:22:43 +0200
committerGitHub <noreply@github.com>2024-07-18 13:22:43 +0200
commit4e6103948ffcfc575926252093f848b9110b6cb0 (patch)
tree254e94b7a36637e9908e68f5f83ee7c409966541
parentfd163ccec7174e6b610cccaacf9edfc18c625d27 (diff)
downloadydb-4e6103948ffcfc575926252093f848b9110b6cb0.tar.gz
Upload tests ydb fix (#6564)
-rw-r--r--.github/actions/test_ya/action.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/actions/test_ya/action.yml b/.github/actions/test_ya/action.yml
index e71aa629d0..5aa6ad633d 100644
--- a/.github/actions/test_ya/action.yml
+++ b/.github/actions/test_ya/action.yml
@@ -148,7 +148,7 @@ runs:
EXTRA_TAG=""
;;
esac
-
+ echo "TESTMO_RUN_NAME=$TESTMO_RUN_NAME" >> $GITHUB_ENV
testmo automation:resources:add-link --name build --url "$RUN_URL" --resources testmo.json
testmo automation:resources:add-field --name git-sha --type string --value "${GITHUB_SHA:0:7}" --resources testmo.json
RUN_ID=$(
@@ -327,8 +327,9 @@ runs:
echo "JOB_NAME=${JOB_NAME}"
echo "JOB_ID=${JOB_ID}"
echo "GITHUB_REF_NAME=${GITHUB_REF_NAME}"
-
- result=`.github/scripts/upload_tests_results.py --test-results-file ${JUNIT_REPORT_XML} --run-timestamp $(date +%s) --commit $(git rev-parse HEAD) --build-type ${BUILD_PRESET} --pull ${PR_NUMBER} --job-name ${JOB_NAME} --job-id ${JOB_ID} --branch ${GITHUB_REF_NAME}`
+
+ run_name="${TESTMO_RUN_NAME// /"_"}"
+ result=`.github/scripts/upload_tests_results.py --test-results-file ${JUNIT_REPORT_XML} --run-timestamp $(date +%s) --commit $(git rev-parse HEAD) --build-type ${BUILD_PRESET} --pull $run_name --job-name ${JOB_NAME} --job-id ${JOB_ID} --branch ${GITHUB_REF_NAME}`
- name: Unit test history upload results
if: inputs.testman_token && inputs.run_tests