Fix test after hooks

This commit is contained in:
Chocobozzz 2022-07-13 11:34:48 +02:00
parent da5f46487f
commit 14b3e8f445
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 1 additions and 2 deletions

View file

@ -82,7 +82,6 @@ jobs:
run: |
( \
test -f dist/scripts/parse-log.js && \
cat *-ci.log | uniq -c && \
NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log \
) || \
echo "parse-log.js script does not exist, skipping."

View file

@ -27,7 +27,7 @@ runTest () {
"echo Trying {} >> $joblog; npm run mocha -- -c --timeout 30000 --exit --bail {}" \
::: $files
cat "$joblog" | uniq -c
cat "$joblog" | sort | uniq -c
rm "$joblog"
}