Closed grgprarup closed 1 month ago
It would be nice to do the linting in CI. Should we add that to the task list? CC @saw-jan
It would be nice to do the linting in CI. Should we add that to the task list? CC @saw-jan
yes, we can have a ci pipeline. but I want to have test code check pipelines in one single pipeline if possible.
The gherlint has been implemented in ocis
, core
and client
. For now, the gherlint will not be implemented on other projects. So, closing this issue as completed.
Check and make a fix PR for the lint issues in acceptance, and e2e test feature files. Gherlinter offers a configuration option to set rules, which can be found at https://github.com/gherlint/gherlint?tab=readme-ov-file#configuration. Some of the rule sets default to warn and to throw an error. When using Gherlint, it's important to make sure that the configuration aligns with the standard for our organization.
Objectives:
To Do:
Add a pipeline for linting the feature file using gherlint. point to note mentioned in this comment https://github.com/owncloud/QA/issues/833#issuecomment-2160005192
check for lint issues in feature files
Tools to use:
gherlint
linter (https://github.com/gherlint/gherlint) ~Note: The linter is in its beta version, so the auto fix might not properly work, you might need a manual fix for that.~