Commit 949407ce authored by Giannis Kepas's avatar Giannis Kepas
Browse files

organise old tests

parent 8c8be571
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+1 −0
Original line number Diff line number Diff line
node_modules/
 No newline at end of file
+20 −0
Original line number Diff line number Diff line
# This file is a template, and might need editing before it works on your project.
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/npm.gitlab-ci.yml

test:
  image: node:latest
  stage: test

  script:
    - 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 run lint *.js
    - npm run test-assignment-1

  variables:
    TEST_NAME: pd_test_1
+20 −0
Original line number Diff line number Diff line
# This file is a template, and might need editing before it works on your project.
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/npm.gitlab-ci.yml

test:
  image: node:latest
  stage: test

  script:
    - 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 run lint *.js
    - npm run test-assignment-2

  variables:
    TEST_NAME: pd_test_2
+20 −0
Original line number Diff line number Diff line
# This file is a template, and might need editing before it works on your project.
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/npm.gitlab-ci.yml

test:
  image: node:latest
  stage: test

  script:
    - 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 run lint *.js
    - npm run test-assignment-3

  variables:
    TEST_NAME: pd_test_3
+20 −0
Original line number Diff line number Diff line
# This file is a template, and might need editing before it works on your project.
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/npm.gitlab-ci.yml

test:
  image: node:latest
  stage: test

  script:
    - 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 run lint *.js
    - npm run test-assignment-4

  variables:
    TEST_NAME: pd_test_4
Loading