Files
dolibarr/.github/workflows
MDW fad3e2d2bf QUAL: Add sqlfluff (SQL code and style check) (#29097)
* QUAL: Add sqlfluff (SQL code and style check)

# QUAL: Add sqlfluff (SQL code and style check)

This adds a validity and style check on the .sql files.
The same tool can be used to fix style (which can be set up as a
pre-commit hook).

* Ignore some sqlfluff notices

* Ignore RF04 notice, warning about the use of sql keywords

* Adjust dialects for some directories
2024-04-16 01:23:27 +02:00
..
2024-02-21 14:55:44 +01:00
2020-02-20 01:22:40 +01:00

Workflow run order

To reduce run minutes, the following order is put in place:

On PR & Merge, always run:

  • pre-commit;
  • phan.

When both succeed, start:

  • phpstan;
  • Windows-ci;
  • travis.

See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow