Add test for commit message format

Added test that checks if commits follow the 50/72 git
commit rule and if they are signed (git commit -s).
Fixes: #9, #14.

Signed-off-by: Laura Loghin <lauralg@amazon.com>
This commit is contained in:
Laura Loghin
2020-07-20 17:33:45 +03:00
committed by Andreea Florescu
parent fe859f4f75
commit abd2c90d9f
4 changed files with 86 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ if platform.machine() == "x86_64":
elif platform.machine() == "aarch64":
COVERAGE_CONFIG_PATH = os.path.join(REPO_ROOT_PATH, "coverage_config_aarch64.json")
def _read_test_config():
"""
Reads the config of the coverage for the repository being tested.