summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
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