emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Validating tree-sitter major modes and grammar


From: Michael Albinus
Subject: Re: Validating tree-sitter major modes and grammar
Date: Sat, 28 Dec 2024 13:02:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Michael Albinus <michael.albinus@gmx.de> writes:

Hi Peter & Yuan,

>>> Is it possible for EMBA to run a CI which produces a HTML webpage, and host 
>>> that webpage somewhere? I’m referring to this idea of Peter’s.
>>
>> In general it is possible, using a GitLab feature called Pages 
>> (https://emba.gnu.org/help/user/project/pages/index.md).
>>
>> Some configuration is required
>> (https://emba.gnu.org/help/administration/pages/index.md).  I don’t
>> know if this has been done for EMBA (but I suspect not, because
>> https://emba.gnu.org/emacs/emacs/pages returns 404; alternatively,
>> it’s possible the feature simply needs switching on at
>> https://emba.gnu.org/emacs/emacs/edit#js-general-project-settings).
>>
>> Once this is done, you don’t have to do much more than, from your CI job, 
>> write HTML files to a directory called pages.
>>
>>> I’m thinking of a table where rows are languages, columns are Emacs 
>>> releases (29, 30, master), and cells are the latest revision of a language 
>>> grammar that’s compatible with an Emacs release.
>>
>> Sounds perfect.
>
> Nice. I'll see whether I can do something useful with this.

As a starting point, we could use the JUnit reports, which are already
generated. They are not formatted to what we want, but they contain all
test results in XML files for better access.

See for example
<https://emba.gnu.org/emacs/emacs/-/pipelines/31215/test_report> and
click on "Tests". Choose job test-tree-sitter.

There are no data when you inspect "View details", but this can be changed.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]