summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml10
1 files 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