Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Updating report CI scripts to be more robust. #581

Merged
merged 1 commit into from
Feb 15, 2019

Conversation

pjlittle
Copy link
Collaborator

Complexity CI is finally working end-to-end, retaining history for each merged PR.

  • Updated scripts to be more explicit with paths, passing them via command line args
  • Added more logging
  • Updated docs

Was able to test this e2e by pointing Azure DevOps to my branch.

@codecov
Copy link

codecov bot commented Feb 14, 2019

Codecov Report

Merging #581 into v2 will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##               v2     #581   +/-   ##
=======================================
  Coverage   86.57%   86.57%           
=======================================
  Files         119      119           
  Lines        3397     3397           
  Branches      584      584           
=======================================
  Hits         2941     2941           
  Misses        456      456

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dff6aaa...fc70838. Read the comment docs.

Copy link
Contributor

@wbreza wbreza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

@@ -4,7 +4,9 @@ const plato = require('es6-plato');
// parse command line args
const optionDefinitions = [
{ name: 'src', type: String, defaultValue: './es6-src/**' },
{ name: 'output', type: String, defaultValue: './report' }
{ name: 'output', type: String, defaultValue: './report' },
{ name: 'version', type: String, defaultValue: '2.0.0' },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this 2.0.0 here? Is that VoTT version? If so can we pull out of package.json like you do above?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or is the the value only if version is not already supplied?

Copy link
Collaborator Author

@pjlittle pjlittle Feb 15, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a default value, if one isn't passed in. yep, the calling script yanks this from package.json.

@pjlittle pjlittle merged commit 1b249eb into v2 Feb 15, 2019
@pjlittle pjlittle deleted the pelittle/fix-complexity-ci branch February 15, 2019 19:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants