From 4809e45b86f49472061f45f4d17cc63345c93c1c Mon Sep 17 00:00:00 2001 From: Anson Date: Mon, 20 Jan 2020 17:15:47 -0700 Subject: [PATCH] should test before deploy --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae1dd81..8869a47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,6 @@ stages: - - deploy - test - + - deploy black: stage: test @@ -14,14 +13,13 @@ black: script: - black --check . - # https://github.com/python-gitlab/python-gitlab/blob/master/.gitlab-ci.yml used for reference deploy: stage: deploy image: python:3.8 before_script: - - python -V # Print out python version for debugging + - python -V # Print out python version for debugging - pip install -U setuptools wheel twine script: