diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99dd6cc2..83536efc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -167,10 +167,9 @@ jobs: exit 1 fi - cat test.data - wc -l test.data + cat test.data | wc -l - if [ "$(wc -l test.data)" -ne "19" ]; then + if [ "$(cat test.data | grep total | wc -l )" -ne "19" ]; then echo "test.data has wrong number of lines" exit 1 fi