From b81f983e882ae947cc23f0bd074af36dca93f57e Mon Sep 17 00:00:00 2001 From: "Juan J. Martínez" Date: Wed, 16 Feb 2022 07:33:56 +0000 Subject: Add black to CI --- .gitlab-ci.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0bd0a44..03f9482 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,18 @@ image: registry.gitlab.com/reidrac/ubox-msx-lib-ci:latest -build-and-test: +stages: + - lint + - build + - test + +lint: + script: + - black --check --diff . + +build: + script: + - make game + +test: script: - make test -- cgit v1.2.3