mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #2263 from sylvestre/json-hash
gnu/ci: also store the hash in the json
This commit is contained in:
commit
70e65c419f
1 changed files with 2 additions and 1 deletions
3
.github/workflows/GNU.yml
vendored
3
.github/workflows/GNU.yml
vendored
|
@ -61,13 +61,14 @@ jobs:
|
||||||
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 date "$(date --rfc-email)" \
|
||||||
|
--arg sha "$GITHUB_SHA" \
|
||||||
--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" \
|
||||||
'{($date): { total: $total, pass: $pass, skip: $skip, fail: $fail, xpass: $xpass, error: $error, }}' > gnu-result.json
|
'{($date): { sha: $sha, 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…
Add table
Add a link
Reference in a new issue