diff --git a/.gitignore b/.gitignore index 29ef47482..bd6eaaaf0 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ build .vscode package-lock.json .system-test-run/ +__pycache__ diff --git a/.kokoro/test.sh b/.kokoro/test.sh index eb25b89b9..4d6c3f831 100755 --- a/.kokoro/test.sh +++ b/.kokoro/test.sh @@ -22,5 +22,6 @@ cd $(dirname $0)/.. npm install npm test +./node_modules/nyc/bin/nyc.js report bash $KOKORO_GFILE_DIR/codecov.sh diff --git a/.nycrc b/.nycrc index a1a8e6920..feb032400 100644 --- a/.nycrc +++ b/.nycrc @@ -3,7 +3,8 @@ "exclude": [ "src/*{/*,/**/*}.js", "src/*/v*/*.js", - "test/**/*.js" + "test/**/*.js", + "build/test" ], "watermarks": { "branches": [ diff --git a/package.json b/package.json index 1823cbf9c..e46f5cd4c 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,6 @@ "typescript": "~3.2.0" }, "scripts": { - "codecov": "nyc mocha build/test --reporter spec --slow 500 && codecov", "docs": "echo no docs 📗", "gen-parser": "pegjs lib/path_template_parser.pegjs", "test": "npm run test-only", diff --git a/synth.metadata b/synth.metadata index 9e26dfeeb..d162ebef5 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1 +1,12 @@ -{} \ No newline at end of file +{ + "updateTime": "2018-12-04T17:54:44.365406Z", + "sources": [ + { + "template": { + "name": "node_library", + "origin": "synthtool.gcp", + "version": "2018.11.30" + } + } + ] +} \ No newline at end of file diff --git a/synth.py b/synth.py index 35c5bbaae..4faf164b1 100644 --- a/synth.py +++ b/synth.py @@ -19,4 +19,4 @@ logging.basicConfig(level=logging.DEBUG) common_templates = gcp.CommonTemplates() templates = common_templates.node_library() -s.copy(templates) +s.copy(templates, excludes=["LICENSE"])