Commit 27672969 authored by Dimitrios Vergados's avatar Dimitrios Vergados
Browse files

Set project name in variable

parent 5e04418f
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -9,8 +9,11 @@ test:
  stage: test

  script:
    - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@netsim.cs.uowm.gr/gitlab/dist_syst/pd_test_1
    - cp *.js jstests/
    - cd jstests/
    - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@netsim.cs.uowm.gr/gitlab/dist_syst/${TEST_NAME}
    - cp *.js ${TEST_NAME}/
    - cd ${TEST_NAME}/
    - npm install
    - npm test

  variables:
    TEST_NAME: pd_test_1