From dee0c6373e0a2e7a25e11e99903932befc42ce91 Mon Sep 17 00:00:00 2001
From: Jens Steidl <Jens.Steidl@slub-dresden.de>
Date: Mon, 25 Sep 2023 11:59:56 +0200
Subject: [PATCH] - added package install test job

---
 .gitlab-ci.yml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9be8381..6ac224a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,7 @@ stages:          # List of stages for jobs, and their order of execution
   - build
   - test
   - package
+  - install
 
 .build-env-job:
   stage: build
@@ -85,4 +86,14 @@ package-debian-job:
   artifacts:
     paths:
       # package name: validate-workflows_[VERSION]-[REVISION]_[ARCHITECTURE].deb
-      - "*.deb"
\ No newline at end of file
+      - "*.deb"
+
+install-debian-job:
+  stage: install
+  timeout: 5m
+  image:
+    name: "${IMAGE_TARGET_DEB}:latest"
+  tags:
+    - "docker"
+  script:
+    - apt install ./validate-workflows*.deb
\ No newline at end of file
-- 
GitLab