aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement report parsing for TarpaulinKevin J Hoerr2019-11-294-7/+400
| | | | | | | | | | The generated Tarpaulin HTML report does not have stats to parse via the DOM - the data is injected via a script tag, which only has line-by-line coverage, though it includes statistics for each file. The total coverage is counted by summing the covered/coverable stats reported for each file. Also, the bad version for express is fixed, and messages are included for errors that occur for the POST endpoint.
* Add Prettier to projectKevin J Hoerr2019-11-234-426/+88
| | | | Signed-off-by: Kevin J Hoerr <kjhoerr@protonmail.com>
* Generate report badge with color gradientKevin J Hoerr2019-11-232-14/+37
|
* Move TS files into /srcKevin J Hoerr2019-11-104-1/+1
|
* Merge branch 'init-commits' of kjhoerr/ao-coverage into masterKevin Hoerr2019-11-109-0/+678
|\
| * Set up initial projectKevin J Hoerr2019-11-109-0/+678
|/ | | | | | | | | | | | | | | | | | | | | Initializes project with TypeScript, ExpressJS, and Badgen. Defines initial (v1) request paths: GET /bash GET /v1/:org/:repo/:branch.svg GET /v1/:org/:repo/:branch.html GET /v1/:org/:repo/:branch/:commit.svg GET /v1/:org/:repo/:branch/:commit.html POST /v1/:org/:repo/:branch/:commit.html?token=&format= Also sets up interfaces for defining multiple formats. Tarpaulin is defined but not implemented. All requests (aside from GET /bash) return 501 NOT IMPLEMENTED. A global TOKEN is expected for POST request. This can and should be adapted to assigning tokens per repository, though this may require verification from the originating repository or administrative designation.
* Initial commitKevin Hoerr2019-11-102-0/+19