Skip to content

Commit e6e1a9d

Browse files
committed
Fix: GHA ci.yml doesn't fail if exercise tests are failing
- https://github.com/exercism/emacs-lisp/blob/8848da5d17e639f61bb9840fd55d12ee5b1873f3/.github/workflows/ci.yml didn't exit with an error code if exercise tests where failing - This was noticed because the tests for exercism#210 did fail but the bash script didn't register the failure.
1 parent a0663e2 commit e6e1a9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/test-examples

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ for exercise in *; do
1414
mv "${exercise}.el" "${exercise}.el.bak"
1515
mv .meta/example.el "${exercise}.el"
1616
emacs -batch -l ert -l "${exercise}-test.el" -f ert-run-tests-batch-and-exit
17-
mv "${exercise}.el.bak" "${exercise}.el"
1817
let "err_cnt += $?"
18+
mv "${exercise}.el.bak" "${exercise}.el"
1919
popd
2020
done
2121
popd > /dev/null

0 commit comments

Comments
 (0)