From 60e111f852457a5a0069ca0e32e32be59c4cbac3 Mon Sep 17 00:00:00 2001 From: Michael Boniface <mjb@it-innovation.soton.ac.uk> Date: Wed, 21 Mar 2018 12:49:05 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6d11e02..d1437f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,29 @@ stages: - test -test_job: +test_scripts: stage: test script: - vagrant --fixture=scripts -- up - vagrant --fixture=scripts -- ssh -- -tt "cd /vagrant && pytest test/scripts/" - vagrant --fixture=scripts -- destroy --force when: manual + +test_streaming_sim: + stage: test + script: + - vagrant --fixture=streaming-sim -- up + - vagrant --fixture=streaming-sim -- ssh -- -tt "cd /vagrant && pytest test/streaming-sim/" + - vagrant --fixture=streaming-sim -- destroy --force + when: manual + +test_telegraf_agents: + stage: test + script: + - vagrant --fixture=telegraf-agents -- up + - vagrant --fixture=telegraf-agents -- ssh -- -tt "cd /vagrant && pytest test/telegraf-agents/" + - vagrant --fixture=telegraf-agents -- destroy --force + when: manual -- GitLab