From 717752ddae1dbfd555fb4f13d52633feaea3a133 Mon Sep 17 00:00:00 2001 From: Nikolai R Kristiansen Date: Sun, 16 Jan 2022 22:53:29 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Lint=20on=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 9 +++++++-- bin/run | 0 2 files changed, 7 insertions(+), 2 deletions(-) mode change 100644 => 100755 bin/run diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ecf1f87..44f880a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ default: - poetry config virtualenvs.in-project true - poetry install -django-migrations: +django-checks: stage: build script: - poetry run python manage.py migrate @@ -20,7 +20,12 @@ django-migrations: tests: stage: test script: - - poetry run pytest -v + - poetry run bin/test + +lint: + stage: test + script: + - poetry run bin/lint deploy: stage: deploy diff --git a/bin/run b/bin/run old mode 100644 new mode 100755