Commit graph

5 commits

Author SHA1 Message Date
Riccardo Mori
a87a6e3b8c
Switch code formatter from auto-commit to pre-commit hook (#7386)
* Add pre-commit check for the code formatter

* Remove code formatter CI

* Fix mtime in fast-format command
2023-04-11 15:08:29 +02:00
Riccardo Mori
2ecb162dfb
Add code formatter in the CI pipeline (#7372)
* Create formatter CI

This step in the CI pipeline is responsible for enforcing the coding style to the cpp code.

* Update formatter.yml

* Give writing permission to the code formatter action

* Add the workflow-dispatch event trigger

* Add first sketch of coding style

* Run build CI only after the formatter

* Disable include sorting on the formatter

* Fix formatter CI

* Fix code formatter in pull requests

* Fix code formatter CI

Commit the changes made by the formatter only when pushing to a remote branch. When dealing with pull requests the CI fails if the code is not properly formatted and does not commit the changes

* Remove formatter CI from PR

* Enable Build CI in PR
2023-04-07 16:19:57 +02:00
Alfredo Cardigliano
f460c4a761
Create build.yml 2022-06-13 17:20:17 +02:00
Giorgio Zoppi
d8255da8d8
modified: Makefile.in (#6281)
* modified:   Makefile.in
	new file:   tests/gtest.c

* Removing sonarcloud it's noisy.
2022-02-04 21:57:47 +01:00
Luca Deri
57aa10c651 Integration with SonarCube 2021-05-11 21:41:45 +02:00