mirror of
https://github.com/uutils/coreutils
synced 2024-09-06 16:03:44 +00:00
Extract the result of the GNU testsuite executions as a warning (#1718)
This commit is contained in:
parent
b8987f3d5f
commit
091cdd6a8d
11
.github/workflows/GNU.yml
vendored
11
.github/workflows/GNU.yml
vendored
|
@ -78,6 +78,17 @@ jobs:
|
||||||
pushd gnu
|
pushd gnu
|
||||||
|
|
||||||
unbuffer timeout -sKILL 3600 make -j "$(nproc)" check SUBDIRS=. RUN_EXPENSIVE_TESTS=yes RUN_VERY_EXPENSIVE_TESTS=yes VERBOSE=no || :
|
unbuffer timeout -sKILL 3600 make -j "$(nproc)" check SUBDIRS=. RUN_EXPENSIVE_TESTS=yes RUN_VERY_EXPENSIVE_TESTS=yes VERBOSE=no || :
|
||||||
|
- name: Extract tests info
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
TOTAL=$( grep "# TOTAL:" gnu/tests/test-suite.log|cut -d' ' -f2-)
|
||||||
|
PASS=$( grep "# PASS:" gnu/tests/test-suite.log|cut -d' ' -f2-)
|
||||||
|
SKIP=$( grep "# SKIP:" gnu/tests/test-suite.log|cut -d' ' -f2-)
|
||||||
|
FAIL=$( grep "# FAIL:" gnu/tests/test-suite.log|cut -d' ' -f2-)
|
||||||
|
XPASS=$( grep "# XPASS:" gnu/tests/test-suite.log|cut -d' ' -f2-)
|
||||||
|
ERROR=$( grep "# ERROR:" gnu/tests/test-suite.log|cut -d' ' -f2-)
|
||||||
|
echo "::warning ::GNU testsuite = $TOTAL / $PASS / $FAIL / $ERROR"
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: test-report
|
name: test-report
|
||||||
|
|
Loading…
Reference in a new issue