Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jussikinnula committed Sep 30, 2020
1 parent dfeb258 commit 4bd6e65
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dist/main.js
Expand Up @@ -22793,6 +22793,7 @@ const fragment = function(...children) {
function tabulate(lcov, options) {
const head = tr(
th("File"),
th("Statements"),
th("Branches"),
th("Funcs"),
th("Lines"),
Expand Down Expand Up @@ -22832,6 +22833,7 @@ function toFolder(path) {
function toRow(file, indent, options) {
return tr(
td(filename(file, indent, options)),
td(percentage$1(file.statements)),
td(percentage$1(file.branches)),
td(percentage$1(file.functions)),
td(percentage$1(file.lines)),
Expand Down Expand Up @@ -22941,6 +22943,12 @@ async function main$1() {
base: github_1.payload.pull_request.base.ref,
};

console.log('XXX');
console.log({ options });
console.log('XXX');
console.log(JSON.stringify(github_1));
console.log('XXX');

const lcov = await parse$2(raw);
const baselcov = baseRaw && await parse$2(baseRaw);
const body = diff(lcov, baselcov, options);
Expand Down
6 changes: 6 additions & 0 deletions src/index.js
Expand Up @@ -29,6 +29,12 @@ async function main() {
base: context.payload.pull_request.base.ref,
}

console.log('XXX');
console.log({ options })
console.log('XXX');
console.log(JSON.stringify(context));
console.log('XXX');

const lcov = await parse(raw)
const baselcov = baseRaw && await parse(baseRaw)
const body = diff(lcov, baselcov, options)
Expand Down

0 comments on commit 4bd6e65

Please sign in to comment.