Browse Source

Fix test after hooks

Chocobozzz 1 year ago
parent
commit
14b3e8f445
2 changed files with 1 additions and 2 deletions
  1. 0 1
      .github/workflows/test.yml
  2. 1 1
      scripts/ci.sh

+ 0 - 1
.github/workflows/test.yml

@@ -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."

+ 1 - 1
scripts/ci.sh

@@ -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"
 }