aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJuan J. Martínez <jjm@usebox.net>2022-02-16 07:33:56 +0000
committerJuan J. Martínez <jjm@usebox.net>2022-02-16 07:33:56 +0000
commitb81f983e882ae947cc23f0bd074af36dca93f57e (patch)
tree2d17ccb4bad3c551208c46679134275fdfe5a0e2 /.gitlab-ci.yml
parent31418a90da67a1bcd1af0a39f33e8ecc5cdd2d49 (diff)
downloadubox-msx-lib-b81f983e882ae947cc23f0bd074af36dca93f57e.tar.gz
ubox-msx-lib-b81f983e882ae947cc23f0bd074af36dca93f57e.zip
Add black to CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml15
1 files changed, 14 insertions, 1 deletions
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