diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 39c95b4..6f914d4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,8 +4,23 @@ services: - docker:18.09-dind stages: + - linting - tests +black: + stage: linting + image: python + script: + # Install pipx + - pip install --user pipx + - python -m pipx ensurepath + - source ~/.profile + + # Black Check + - pipx install black + - black --version + - black --check . + pytest: stage: tests script: