From 4b9ea0d76a71013bfe4e1cdf4d991a6c6c0ce71e Mon Sep 17 00:00:00 2001
From: Emanuele Aina <emanuele.aina@collabora.com>
Date: Wed, 3 Mar 2021 13:24:31 +0100
Subject: [PATCH] Run automated tests on the CI

Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
---
 debian/apertis/local-gitlab-ci.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 debian/apertis/local-gitlab-ci.yml

diff --git a/debian/apertis/local-gitlab-ci.yml b/debian/apertis/local-gitlab-ci.yml
new file mode 100644
index 0000000..a402e00
--- /dev/null
+++ b/debian/apertis/local-gitlab-ci.yml
@@ -0,0 +1,12 @@
+test:
+  stage: test
+  image: $DOCKER_IMAGE
+  tags:
+    - lightweight
+  script:
+    - apt build-dep -y .
+    - make check
+  needs:
+    - pipeline: $PARENT_PIPELINE_ID
+      job: prepare-build-env
+      artifacts: true
-- 
GitLab