tests: perform code formatting test in test suite

This should improve visibility when CI job fails due to bad
formatting.
This commit is contained in:
Robert Helgesson
2020-05-28 01:24:49 +02:00
parent 3a80ece9fa
commit 8bbefa77f7
5 changed files with 29 additions and 2 deletions

View File

@@ -11,7 +11,6 @@ stages:
Run tests:
stage: test
script:
- ./format -c && echo Format is OK
- nix-shell --pure tests -A run.files-text
rules:
- if: $CI_COMMIT_BRANCH == "master"