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
commit1acd6982100865edf10a3838da1b16446a8dd8ec (patch)
tree2d17ccb4bad3c551208c46679134275fdfe5a0e2 /.gitlab-ci.yml
parent31418a90da67a1bcd1af0a39f33e8ecc5cdd2d49 (diff)
parentb81f983e882ae947cc23f0bd074af36dca93f57e (diff)
downloadubox-msx-lib-1acd6982100865edf10a3838da1b16446a8dd8ec.tar.gz
ubox-msx-lib-1acd6982100865edf10a3838da1b16446a8dd8ec.zip
Merge branch 'add-black-to-ci' into 'master'
Add black to CI See merge request reidrac/ubox-msx-lib!24
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