mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 13:16:34 +00:00
.github/workflows: Add a GitHub action to run regression tests upon push
Introduce a new GitHub action that automatically runs the scripts/run_regression_tests script upon each push to the master branch.
This commit is contained in:
@@ -466,9 +466,9 @@ function run_smatch {
|
||||
then
|
||||
local errors warnings
|
||||
errors=$(grep -c ' error:' "${outputfile}")
|
||||
warnings=$(grep -c ' warning:' "${outputfile}")
|
||||
warnings=$(grep -c ' warn:' "${outputfile}")
|
||||
echo "${errors} errors / ${warnings} warnings."
|
||||
grep -E ' info:| warning:| error:' < "${outputfile}" |
|
||||
grep -E ' info:| warn:| error:' < "${outputfile}" |
|
||||
sed 's/^\([^:]*\):[0-9:]* /\1: /;s/\((see line \)[0-9]*\()\)/\1...\2/' |
|
||||
sort |
|
||||
uniq -c
|
||||
|
||||
Reference in New Issue
Block a user