From 148bd9ee92c55ba23be2d60a278dfa7ad0005971 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Sun, 10 Nov 2019 03:43:30 +0100 Subject: [PATCH] CI: Minor update --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 039dbf5e..e00a8d6c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -309,11 +309,17 @@ build-birdlab: - git pull --ff-only - mv $DIR/bird $DIR/birdc netlab-int/common -running_test: +.test: &test_job stage: test + needs: [build-birdlab] tags: - birdlab - amd64 script: - cd $TOOLS_DIR/netlab-int - - sudo ./runtest -m check cf-ospf + - sudo ./runtest -m check $TEST_NAME + +test-ospf: + variables: + TEST_NAME: cf-ospf + <<: *test_job