diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-09-10 14:24:30 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-09-10 14:24:30 +0200 |
commit | 3ac5a3734a0903bd52c53ee14cf758b92c8bd86d (patch) | |
tree | e332cecf6d189913c317cd2f7287300c29a855fa | |
parent | 8cd97799880032fee3b55e473a8c718479420ba7 (diff) |
only run black on master branch
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 52d6e1c..497ddd1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,8 @@ lint_python: - apt-get update -qy - apt-get install -y black - black --check --diff bin + rules: + - if: '$CI_COMMIT_BRANCH == "master"' run_tests: stage: test |