universal-ctags / citre

A superior code reading & auto-completion tool with pluggable backends.
GNU General Public License v3.0
326 stars 26 forks source link

test: setup CI #31

Closed AmaiKinono closed 3 years ago

AmaiKinono commented 3 years ago

Close #26.

AmaiKinono commented 3 years ago

I got a "bad substitution" error in this line in scripts/tests.sh:

    if [ ${p:0:1} != '/' ]; then

I think it's because sh doesn't have the string slice syntax. It works on my machine using sh, but I guess that's because sh on my machine is emulated by bash, but is dash on Ubuntu.

Update: Solved by:

    if [ "$p" = "${p#/}" ]; then

Seems it's called "substring removal"

AmaiKinono commented 3 years ago

I think I misunderstood "artifacts". Seems it's not keeped between multiple runs of a workflow.

AmaiKinono commented 3 years ago

It finally works and we've get some useful information: my tests fail on Emacs 26. Oh my god...

AmaiKinono commented 3 years ago

:tada: