CI: fix bug in gitlint test
The default location for the config file
is .gitlint, however when run from the tests
directory this needs to be adjusted.
@@ -12,6 +12,7 @@ def test_gitlint():
os.environ['LANG'] = 'C.UTF-8'
try:
utils.run_cmd('gitlint --commits origin/master..HEAD'
+ ' -C ../.gitlint'
' --extra-path framework/gitlint_rules.py')
except ChildProcessError as error:
assert False, "Commit message violates gitlint rules: {}".format(error)
