Commit c2e566fc authored by Daniel Perez's avatar Daniel Perez
Browse files

Merge branch 'slb/dperez50/adding-lcov-report' into 'master'

Slb/dperez50/adding lcov report

See merge request !120
parents 058d7dba f5f7cccc
Pipeline #48760 failed with stages
in 36 seconds
......@@ -16,23 +16,7 @@
# [seistore builder image]
# use ubuntu as base image
FROM ubuntu:bionic
# nodejs version
ARG nodesecure_version=10
# update package list and install required packages
RUN apt-get update
RUN apt-get install -y curl
RUN apt-get install -y gnupg
RUN apt-get install -y git
# setup node from secure package
RUN curl -sL https://deb.nodesource.com/setup_${nodesecure_version}.x -o tmp/nodesource_setup.sh
RUN bash tmp/nodesource_setup.sh
RUN rm -f tmp/nodesource_setup.sh
# install nodejs and typescript globally
RUN apt-get update && apt-get install -y nodejs
RUN npm install -g typescript
# use node as base image
FROM node:14
# install typescript
RUN npm install -g typescript
\ No newline at end of file
......@@ -6579,6 +6579,12 @@
}
}
},
"mocha-bamboo-reporter": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/mocha-bamboo-reporter/-/mocha-bamboo-reporter-1.1.2.tgz",
"integrity": "sha512-q5yq/5rro0mXgfcmIDbEa+iYuOzrLTk+pK0t8ma321yFt1aWIRi24Q1wanVWRKh2meLfBXp1UfigJ25QyAT4Iw==",
"dev": true
},
"mocha-junit-reporter": {
"version": "1.23.3",
"resolved": "https://registry.npmjs.org/mocha-junit-reporter/-/mocha-junit-reporter-1.23.3.tgz",
......@@ -8816,9 +8822,9 @@
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
},
"source-map-support": {
"version": "0.5.16",
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz",
"integrity": "sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==",
"version": "0.5.19",
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz",
"integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==",
"requires": {
"buffer-from": "^1.0.0",
"source-map": "^0.6.0"
......
......@@ -15,6 +15,8 @@
"test": "env UTEST=true mocha -r ts-node/register tests/utest/test.ts",
"test-coverage": "env UTEST=true nyc mocha -r ts-node/register --reporter mocha-junit-reporter tests/utest/test.ts",
"test-automation": "npm run clean && npm install && npm run build && npm run test-coverage",
"test-lcov-automation": "npm run clean && npm install && npm run build && npm run test-lcov-coverage",
"test-lcov-coverage": "env UTEST=true nyc mocha -r ts-node/register -r source-map-support/register --recursive -R mocha-bamboo-reporter tests/utest/test.ts",
"test-e2e-parallel": "node ./tests/e2e/parallel/run_e2e_tests_parallel.js",
"copy-static-files": "copyfiles --error --up 1 ./docs/api/openapi.osdu.yaml ./dist/docs",
"postbuild": "npm run copy-static-files"
......@@ -34,7 +36,9 @@
"reporter": [
"text-summary",
"html",
"cobertura"
"cobertura",
"clover",
"lcovonly"
],
"sourceMap": true,
"instrument": true
......@@ -116,12 +120,14 @@
"js-yaml": "^3.13.1",
"lodash.merge": "^4.6.2",
"mocha": "^8.4.0",
"mocha-bamboo-reporter": "^1.1.2",
"mocha-junit-reporter": "1.23.3",
"newman": "^4.6.1",
"nyc": "^15.0.0",
"path": "^0.12.7",
"redis-mock": "^0.49.0",
"sinon": "8.1.1",
"source-map-support": "^0.5.19",
"ts-node": "^9.1.1",
"tslint": "6.0.0",
"tslint-no-unused-expression-chai": "0.1.4"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment