File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - agent/imenu-symbol-completion
77
88jobs :
9- targeted -ert :
9+ full -ert-diagnostic :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v4
@@ -28,21 +28,21 @@ jobs:
2828 (dolist (pkg '(compat transient magit))
2929 (unless (package-installed-p pkg)
3030 (package-install pkg))))"
31- - name : Run targeted Imenu tests with annotation
31+ - name : Run full ERT suite with failure annotation
3232 shell : bash
3333 run : |
3434 set +e
3535 emacs -Q -batch -L . \
3636 --eval "(progn (require 'package) (package-initialize))" \
3737 -l test/test_00-bootstrap.el \
3838 -l ert \
39- -l test/test_ai-code-symbol-completion .el \
40- --eval "( ert-run-tests-batch-and-exit \"^ai-code-test-\")" \
39+ --eval "(mapc #'load-file (file-expand-wildcards \"test/test_* .el\"))" \
40+ -f ert-run-tests-batch-and-exit \
4141 > /tmp/ert.out 2>&1
4242 status=$?
4343 cat /tmp/ert.out
4444 if [ "$status" -ne 0 ]; then
45- msg=$(tail -n 120 /tmp/ert.out | sed ':a;N;$!ba;s/%/%25/g;s/\r/%0D/g;s/\n/%0A/g')
46- echo "::error file=test/test_ai-code-symbol-completion.el ,line=1,title=Targeted ERT failure::$msg"
45+ msg=$(tail -n 180 /tmp/ert.out | sed ':a;N;$!ba;s/%/%25/g;s/\r/%0D/g;s/\n/%0A/g')
46+ echo "::error file=test,line=1,title=Full ERT failure::$msg"
4747 fi
4848 exit "$status"
You can’t perform that action at this time.
0 commit comments