mirror of
https://github.com/uutils/coreutils
synced 2024-09-06 16:03:44 +00:00
gnu results: also add the date (#2236)
This commit is contained in:
parent
34d13324bf
commit
0c6a848314
3
.github/workflows/GNU.yml
vendored
3
.github/workflows/GNU.yml
vendored
|
@ -128,13 +128,14 @@ jobs:
|
||||||
ERROR=$(sed -n "s/.*# ERROR: \(.*\)/\1/p" "$LOG_FILE"|tr -d '\r'|head -n1)
|
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"
|
echo "::warning ::GNU testsuite = TOTAL: $TOTAL / PASS: $PASS / FAIL: $FAIL / ERROR: $ERROR"
|
||||||
jq -n \
|
jq -n \
|
||||||
|
--arg date "$(date --rfc-email)" \
|
||||||
--arg total "$TOTAL" \
|
--arg total "$TOTAL" \
|
||||||
--arg pass "$PASS" \
|
--arg pass "$PASS" \
|
||||||
--arg skip "$SKIP" \
|
--arg skip "$SKIP" \
|
||||||
--arg fail "$FAIL" \
|
--arg fail "$FAIL" \
|
||||||
--arg xpass "$XPASS" \
|
--arg xpass "$XPASS" \
|
||||||
--arg error "$ERROR" \
|
--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
|
else
|
||||||
echo "::error ::Failed to get summary of test results"
|
echo "::error ::Failed to get summary of test results"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue