Skip to content

Missing embedded syntax definitions should not fail CI run #13

@deathaxe

Description

@deathaxe

In case a syntax embeds 3rd-party syntaxes, which are not available while running syntax tests, following error messages are printed to console.

Error loading embed in syntax file "HTML (Astro).sublime-syntax": Unable to find syntax file for scope "source.less"
Error loading embed in syntax file "HTML (Astro).sublime-syntax": Unable to find syntax file for scope "source.sass"
Error loading embed in syntax file "HTML (Astro).sublime-syntax": Unable to find syntax file for scope "source.scss"
Error loading embed in syntax file "HTML (Astro).sublime-syntax": Unable to find syntax file for scope "source.stylus"

Local syntax tests succeed however, if no syntax related details are asserted.

Actual Behavior

But syntax-test-action fails, because it handles those error messages as syntax errors.

grafik

Expected Behavior

syntax-test-action should ignore "Error loading embed in syntax" messages and let CI run succeed in case no real syntax errors are detected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions