diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-01-25 21:12:40 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-01-25 21:12:40 +0300 |
commit | 25c0743a201b72c5283f8ab29f527f8d803e9534 (patch) | |
tree | 306254e09001d3555c5a80744516c3e9cbde130b | |
parent | 42cfc238c37e3c1b1cab50b733448e4e5c754702 (diff) | |
download | ydb-25c0743a201b72c5283f8ab29f527f8d803e9534.tar.gz |
Show only fails in actions, write full test log to disk
-rw-r--r-- | .github/workflows/build_and_test.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 81ab83cdefb..664997fa0b1 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -30,5 +30,8 @@ jobs: rm -rf /mnt/d/tmp/* cd ../build/ydb # Our test util provides output with coloring, so remove it using sed before sending to grep - TMPDIR=/mnt/d/tmp ctest -j28 --timeout 1200 --force-new-ctest-process --output-on-failure | sed -e 's/\x1b\[[0-9;]*m//g' | grep -E "(Test\s*#|\[FAIL\])" - + TMPDIR=/mnt/d/tmp ctest -j28 --timeout 1200 --force-new-ctest-process --output-on-failure | \ + sed -e 's/\x1b\[[0-9;]*m//g' | \ + tee testrun.log | \ + grep -E '(Test\s*#.*\*\*\*|\[FAIL\])|.*tests passed,.*tests failed out of' + |