From 21bf6b40f9c32b9e78faeca5fa8ce1839ba86739 Mon Sep 17 00:00:00 2001
From: Lucas Nussbaum <lucas.nussbaum@loria.fr>
Date: Sun, 19 Jan 2020 10:11:24 +0100
Subject: [PATCH] [gitlab-ci] add rspec tests

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cd875cc7deb..e05114f9b1e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -49,3 +49,15 @@ deploy:
     - grid5000-shell
    script:
     - /srv/ci-runner-scripts/bin/update-api-servers
+
+rspec:
+   stage: deploy # we use 'deploy' here to avoid blocking on this when updating the ref-repo
+   tags:
+    - grid5000-docker
+   image: debian:buster
+   script:
+    - apt-get update && apt-get -y install ruby ruby-dev build-essential rake git
+    - gem install bundler -v 1.17.3
+    - bundle install
+    - export TZ=Europe/Paris
+    - bundle exec rspec
-- 
GitLab