From 0c6a84831452b4c00216a498be053cda0ecc3912 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 19 May 2021 20:33:28 +0200 Subject: [PATCH] gnu results: also add the date (#2236) --- .github/workflows/GNU.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/GNU.yml b/.github/workflows/GNU.yml index 3fd39aa15..213137acc 100644 --- a/.github/workflows/GNU.yml +++ b/.github/workflows/GNU.yml @@ -128,13 +128,14 @@ jobs: ERROR=$(sed -n "s/.*# ERROR: \(.*\)/\1/p" "$LOG_FILE"|tr -d '\r'|head -n1) echo "::warning ::GNU testsuite = TOTAL: $TOTAL / PASS: $PASS / FAIL: $FAIL / ERROR: $ERROR" jq -n \ + --arg date "$(date --rfc-email)" \ --arg total "$TOTAL" \ --arg pass "$PASS" \ --arg skip "$SKIP" \ --arg fail "$FAIL" \ --arg xpass "$XPASS" \ --arg error "$ERROR" \ - '{total: $total, pass: $pass, skip: $skip, fail: $fail, xpass: $xpass, error: $error, }' > gnu-result.json + '{($date): { total: $total, pass: $pass, skip: $skip, fail: $fail, xpass: $xpass, error: $error, }}' > gnu-result.json else echo "::error ::Failed to get summary of test results" fi