Loading .gitlab/assignment-1-tests.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ default: stages: - test test_assignment_1: test_assignment: stage: test parallel: matrix: Loading .gitlab/assignment-2-tests.yml +25 −16 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 default: image: timbru31/node-alpine-git:22 test: image: node:latest stage: test stages: - test test_assignment: stage: test parallel: matrix: - TEST_FILE: test/assignment-2/test_11.js - TEST_FILE: test/assignment-2/test_12.js - TEST_FILE: test/assignment-2/test_13.js - TEST_FILE: test/assignment-2/test_14.js - TEST_FILE: test/assignment-2/test_15.js - TEST_FILE: test/assignment-2/test_16.js - TEST_FILE: test/assignment-2/test_17.js - TEST_FILE: test/assignment-2/test_18.js - TEST_FILE: test/assignment-2/test_19.js - TEST_FILE: test/assignment-2/test_20.js 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}/ - git clone --recurse-submodules -j8 https://netsim.cs.uowm.gr/gitlab/web-programming/web-prog-tests.git - | cp ./*.html web-prog-tests/test 2>/dev/null || : cp ./*.js web-prog-tests/test 2>/dev/null || : - cd web-prog-tests - npm install - npm run lint *.js - npm run test-assignment-2 variables: TEST_NAME: pd_test_2 - npm run lint ./test/*.js - npx mocha $TEST_FILE -r jsdom-global/register .gitlab/assignment-3-tests.yml +25 −16 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 default: image: timbru31/node-alpine-git:22 test: image: node:latest stage: test stages: - test test_assignment: stage: test parallel: matrix: - TEST_FILE: test/assignment-3/test_21.js - TEST_FILE: test/assignment-3/test_22.js - TEST_FILE: test/assignment-3/test_23.js - TEST_FILE: test/assignment-3/test_24.js - TEST_FILE: test/assignment-3/test_25.js - TEST_FILE: test/assignment-3/test_26.js - TEST_FILE: test/assignment-3/test_27.js - TEST_FILE: test/assignment-3/test_28.js - TEST_FILE: test/assignment-3/test_29.js - TEST_FILE: test/assignment-3/test_30.js 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}/ - git clone --recurse-submodules -j8 https://netsim.cs.uowm.gr/gitlab/web-programming/web-prog-tests.git - | cp ./*.html web-prog-tests/test 2>/dev/null || : cp ./*.js web-prog-tests/test 2>/dev/null || : - cd web-prog-tests - npm install - npm run lint *.js - npm run test-assignment-3 variables: TEST_NAME: pd_test_3 - npm run lint ./test/*.js - npx mocha $TEST_FILE -r jsdom-global/register .gitlab/assignment-4-tests.yml +20 −16 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 default: image: timbru31/node-alpine-git:22 test: image: node:latest stage: test stages: - test test_assignment: stage: test parallel: matrix: - TEST_FILE: test/assignment-4/test_31.js - TEST_FILE: test/assignment-4/test_32.js - TEST_FILE: test/assignment-4/test_33.js - TEST_FILE: test/assignment-4/test_34.js - TEST_FILE: test/assignment-4/test_35.js 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}/ - git clone --recurse-submodules -j8 https://netsim.cs.uowm.gr/gitlab/web-programming/web-prog-tests.git - | cp ./*.html web-prog-tests/test 2>/dev/null || : cp ./*.js web-prog-tests/test 2>/dev/null || : - cd web-prog-tests - npm install - npm run lint *.js - npm run test-assignment-4 variables: TEST_NAME: pd_test_4 - npm run lint ./test/*.js - npx mocha $TEST_FILE -r jsdom-global/register .gitlab/assignment-5-tests.yml +20 −16 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 default: image: timbru31/node-alpine-git:22 test: image: node:latest stage: test stages: - test test_assignment: stage: test parallel: matrix: - TEST_FILE: test/assignment-5/test_36.js - TEST_FILE: test/assignment-5/test_37.js - TEST_FILE: test/assignment-5/test_38.js - TEST_FILE: test/assignment-5/test_39.js - TEST_FILE: test/assignment-5/test_40.js 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}/ - git clone --recurse-submodules -j8 https://netsim.cs.uowm.gr/gitlab/web-programming/web-prog-tests.git - | cp ./*.html web-prog-tests/test 2>/dev/null || : cp ./*.js web-prog-tests/test 2>/dev/null || : - cd web-prog-tests - npm install - npm run lint *.js - npm run test-assignment-5 variables: TEST_NAME: pd_test_5 - npm run lint ./test/*.js - npx mocha $TEST_FILE -r jsdom-global/register Loading
.gitlab/assignment-1-tests.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ default: stages: - test test_assignment_1: test_assignment: stage: test parallel: matrix: Loading
.gitlab/assignment-2-tests.yml +25 −16 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 default: image: timbru31/node-alpine-git:22 test: image: node:latest stage: test stages: - test test_assignment: stage: test parallel: matrix: - TEST_FILE: test/assignment-2/test_11.js - TEST_FILE: test/assignment-2/test_12.js - TEST_FILE: test/assignment-2/test_13.js - TEST_FILE: test/assignment-2/test_14.js - TEST_FILE: test/assignment-2/test_15.js - TEST_FILE: test/assignment-2/test_16.js - TEST_FILE: test/assignment-2/test_17.js - TEST_FILE: test/assignment-2/test_18.js - TEST_FILE: test/assignment-2/test_19.js - TEST_FILE: test/assignment-2/test_20.js 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}/ - git clone --recurse-submodules -j8 https://netsim.cs.uowm.gr/gitlab/web-programming/web-prog-tests.git - | cp ./*.html web-prog-tests/test 2>/dev/null || : cp ./*.js web-prog-tests/test 2>/dev/null || : - cd web-prog-tests - npm install - npm run lint *.js - npm run test-assignment-2 variables: TEST_NAME: pd_test_2 - npm run lint ./test/*.js - npx mocha $TEST_FILE -r jsdom-global/register
.gitlab/assignment-3-tests.yml +25 −16 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 default: image: timbru31/node-alpine-git:22 test: image: node:latest stage: test stages: - test test_assignment: stage: test parallel: matrix: - TEST_FILE: test/assignment-3/test_21.js - TEST_FILE: test/assignment-3/test_22.js - TEST_FILE: test/assignment-3/test_23.js - TEST_FILE: test/assignment-3/test_24.js - TEST_FILE: test/assignment-3/test_25.js - TEST_FILE: test/assignment-3/test_26.js - TEST_FILE: test/assignment-3/test_27.js - TEST_FILE: test/assignment-3/test_28.js - TEST_FILE: test/assignment-3/test_29.js - TEST_FILE: test/assignment-3/test_30.js 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}/ - git clone --recurse-submodules -j8 https://netsim.cs.uowm.gr/gitlab/web-programming/web-prog-tests.git - | cp ./*.html web-prog-tests/test 2>/dev/null || : cp ./*.js web-prog-tests/test 2>/dev/null || : - cd web-prog-tests - npm install - npm run lint *.js - npm run test-assignment-3 variables: TEST_NAME: pd_test_3 - npm run lint ./test/*.js - npx mocha $TEST_FILE -r jsdom-global/register
.gitlab/assignment-4-tests.yml +20 −16 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 default: image: timbru31/node-alpine-git:22 test: image: node:latest stage: test stages: - test test_assignment: stage: test parallel: matrix: - TEST_FILE: test/assignment-4/test_31.js - TEST_FILE: test/assignment-4/test_32.js - TEST_FILE: test/assignment-4/test_33.js - TEST_FILE: test/assignment-4/test_34.js - TEST_FILE: test/assignment-4/test_35.js 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}/ - git clone --recurse-submodules -j8 https://netsim.cs.uowm.gr/gitlab/web-programming/web-prog-tests.git - | cp ./*.html web-prog-tests/test 2>/dev/null || : cp ./*.js web-prog-tests/test 2>/dev/null || : - cd web-prog-tests - npm install - npm run lint *.js - npm run test-assignment-4 variables: TEST_NAME: pd_test_4 - npm run lint ./test/*.js - npx mocha $TEST_FILE -r jsdom-global/register
.gitlab/assignment-5-tests.yml +20 −16 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 default: image: timbru31/node-alpine-git:22 test: image: node:latest stage: test stages: - test test_assignment: stage: test parallel: matrix: - TEST_FILE: test/assignment-5/test_36.js - TEST_FILE: test/assignment-5/test_37.js - TEST_FILE: test/assignment-5/test_38.js - TEST_FILE: test/assignment-5/test_39.js - TEST_FILE: test/assignment-5/test_40.js 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}/ - git clone --recurse-submodules -j8 https://netsim.cs.uowm.gr/gitlab/web-programming/web-prog-tests.git - | cp ./*.html web-prog-tests/test 2>/dev/null || : cp ./*.js web-prog-tests/test 2>/dev/null || : - cd web-prog-tests - npm install - npm run lint *.js - npm run test-assignment-5 variables: TEST_NAME: pd_test_5 - npm run lint ./test/*.js - npx mocha $TEST_FILE -r jsdom-global/register