emacs-php / php-ts-mode

A Tree-sitter based major mode for editing PHP codes
GNU General Public License v3.0
20 stars 8 forks source link

CI silently fails with file-missing Setting current directory No such file #56

Open piotrkwiecinski opened 8 months ago

piotrkwiecinski commented 8 months ago

It started last week: https://github.com/emacs-php/php-ts-mode/actions/runs/7606380428/job/20712079393

Warning (treesit): Error encountered when installing language grammar: (file-missing Setting current directory No such file or directory /var/folders/qv/pdh5wsgn0lq3dp77zj602b5c0000gn/T/treesit-workdirEYXWZg/repo/src)
Running 1 tests (2024-01-28 20:17:50+0000, selector ‘t’)

Looks like it was caused by update of the snapshot: https://github.com/emacs-php/php-ts-mode/commit/9f8b43a05d1d99e628dec54bdeb9f14c33917ab0

akirak commented 8 months ago

Since this project is no longer using Nix to install Emacs on GitHub Actions, that PR should be irrelevant.

@jcs090218 Is there something wrong with the setup of Eask?

jcs090218 commented 8 months ago

Is there something wrong with the setup of Eask?

Currently, there are bugs in the Emacs Windows snapshot. We already have the experimental flag on; therefore, we can ignore it now.

piotrkwiecinski commented 8 months ago

@akirak @jcs090218 it's actually related to a split in tree-sitter and it was fixed with https://github.com/emacs-php/php-ts-mode/pull/59 and https://github.com/emacs-php/php-ts-mode/pull/60

I left it open as we should fail in cases like https://github.com/emacs-php/php-ts-mode/issues/58 or when tree-sitter-php is not available