Fix test after hooks
This commit is contained in:
parent
da5f46487f
commit
14b3e8f445
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
@ -82,7 +82,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
( \
|
( \
|
||||||
test -f dist/scripts/parse-log.js && \
|
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 \
|
NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log \
|
||||||
) || \
|
) || \
|
||||||
echo "parse-log.js script does not exist, skipping."
|
echo "parse-log.js script does not exist, skipping."
|
||||||
|
|
|
@ -27,7 +27,7 @@ runTest () {
|
||||||
"echo Trying {} >> $joblog; npm run mocha -- -c --timeout 30000 --exit --bail {}" \
|
"echo Trying {} >> $joblog; npm run mocha -- -c --timeout 30000 --exit --bail {}" \
|
||||||
::: $files
|
::: $files
|
||||||
|
|
||||||
cat "$joblog" | uniq -c
|
cat "$joblog" | sort | uniq -c
|
||||||
rm "$joblog"
|
rm "$joblog"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user