mirror of
https://github.com/uutils/coreutils
synced 2024-07-22 18:34:12 +00:00
Extract the result of the GNU testsuite executions as a warning (#1718)
This commit is contained in:
parent
b8987f3d5f
commit
091cdd6a8d
13
.github/workflows/GNU.yml
vendored
13
.github/workflows/GNU.yml
vendored
|
@ -76,8 +76,19 @@ jobs:
|
||||||
BUILDDIR="${PWD}/uutils/target/release"
|
BUILDDIR="${PWD}/uutils/target/release"
|
||||||
GNULIB_DIR="${PWD}/gnulib"
|
GNULIB_DIR="${PWD}/gnulib"
|
||||||
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