Граф коммитов

59 Коммитов

Автор SHA1 Сообщение Дата
Marco Castelluccio 9742f94b98
Revert "Cleanup the README using markdownlint and remove ToC (#626)" (#627)
This reverts commit a8b4be8e3b.
2021-05-27 15:52:41 +02:00
Dominik Nakamura a8b4be8e3b
Cleanup the README using markdownlint and remove ToC (#626) 2021-05-27 15:51:47 +02:00
Dominik Nakamura 62286cbf7a
Generate code coverage badges for HTML output (#621) 2021-05-27 10:55:42 +02:00
Pi Delport 89d6deaf17
docs (README): fix typo (alterntatively → alternatively) (#612) 2021-05-04 15:04:54 +02:00
Marco Castelluccio 69a715e56b Explain usage of LLVM_PROFILE_FILE environment variable in the section about source-based code coverage
Fixes #595
2021-04-19 11:41:57 +02:00
Georg Vienna 61d92d2177
Add cobertura output option (#599)
Fixes #468
2021-04-19 11:34:00 +02:00
Marco Castelluccio 83d63b6256 Fix a typo in the README 2021-02-11 23:29:22 +01:00
Marco Castelluccio 7fbd8fbf14 Use all compiled binaries for source-based coverage 2020-11-27 15:37:27 +01:00
Marco Castelluccio ef69a02be4 Minor fixes to README 2020-11-24 01:11:11 +01:00
Alexander Batischev 5e67e4e750
README: note that Nightly is required to use grcov (#510)
* README: note that Nightly is required to use grcov

Fixes #433.
2020-11-23 22:05:42 +01:00
Marco Castelluccio 55772fe724 Add source-based coverage section to the ToC 2020-11-23 18:43:27 +01:00
Marco Castelluccio c619272b55
Support parsing source-based coverage artifacts (#512)
* Support parsing source-based coverage artifacts

Fixes #509

* Update docs for source-based coverage

* Show example of how to use source-based coverage on Travis
2020-11-23 18:22:36 +01:00
Robert DiMartino c9c37cb398
Add --keep-only flag to keep specific files/dirs (#455)
Fixes #332
2020-10-14 21:30:10 +02:00
Dominik Spicher ada6e802ec
Fix typo in excl-br-start docstring (#492) 2020-10-08 21:36:07 +02:00
MusiKid b106ad1867
Improve README layout (#489) 2020-10-05 16:03:11 +02:00
Marco Castelluccio 1b4c52843f Remove trailing whitespaces 2020-05-08 13:36:02 +02:00
Marco Castelluccio f2016d360b Update list of output types in the output_type argument and update USAGE text in the README 2020-05-08 13:19:54 +02:00
Marco Castelluccio 26acaa0c65 Rename output_file argument to output_path 2020-05-08 13:19:54 +02:00
Wu Yu Wei 083b3951b2
Remove -Zno-landing-pads flag, use -Cpanic=abort instead (#428)
Fixes #427
2020-05-06 13:37:40 +02:00
Jonathan Dickinson 9d8f730f7b
Exclusion Patterns for Lines and Branches (#416)
* Fix tests on Windows

* Fix non-compiling bench

* Add line and branch exclusion

Adds line and branch exclusion, following the names of the vars in
lcovrc. The lines are removed during path rewriting (as the full path is
resolved during this phase).

Dangling regions are permitted for e.g. `mod tests {`

* Fix formatting on touched files

* PR Nits and Build Improvements

Use new functionality to exclude `#[derive(` from bootstrapped codecov
checks.

* Implement filter parallelism

* Fix formatting

* Make arg names consistent with existing args

* Properly fix names

* Properly retrieve arg names

* Implement PR feedback.

* Fix cargo lock.

* PR feedback

* PR feedback and fix formatting on touched files

* Remove matches and fix remaining lines

Co-authored-by: Jonathan Dickinson <jonathanD@k2.com>
2020-05-04 11:06:54 +02:00
Vlad Filippov 5d59f53e69
Link to crates.io in the badge (#423)
The rest of the badges link out, but this one does not.
2020-04-27 17:13:10 +02:00
Ross MacArthur 7c351cc6fb
Fix typo in README (#417) 2020-04-04 23:26:15 +02:00
calixteman 2d37c3aa6d
Remove refs to '-Cinline-threshold' and replace with '-Copt-level=0' (#411) 2020-03-30 13:59:09 +02:00
Squirrel f6ec602b94
Expand the documentation (#387)
Fixes #249
2020-03-17 23:35:43 +01:00
Alexander Batischev 989a84bb29
Coveralls: make repo token optional (#381)
* Make --service-job-number an alias of service-job-id

Implementing this in Clap simplifies the code that uses the values, and
also produces a better --help message.

* For Coveralls, require either token or (name, job_id)

* Coveralls: omit token/(service_name, job_id) from output if absent on CLI

If we don't pass --token to grcov, the JSON contains an empty string
(`{"token": ""}`), which Coveralls tries to use and fails.
2020-02-03 12:24:30 +01:00
Alexander Batischev 7396749f6d
Coveralls: rename service_job_number to service_job_id (#376)
* Coveralls: use correct JSON key for service job ID

This makes Coverall reference Travis build in the report, and use
author's GitHub handle instead of name.

Fixes #373.

* Do not require commit-sha for Coveralls

Due to previous commit, "git" key in Coveralls' JSON isn't as important
now, and grcov can generate valid reports even without knowing the
commit SHA. It was decided[1] to keep the CLI switch, but since it isn't
strictly necessary now, we make it optional.

1. https://github.com/mozilla/grcov/issues/373#issuecomment-573403732

* Add --service-job-id

This deprecates --service-job-number.
2020-01-28 23:49:21 +01:00
Sylvestre Ledru 2b65cd6abf add the crates.io badge (#363) 2019-12-23 14:24:53 +01:00
Alexander Batischev b81a07c606 Add --service-pull-request for Coveralls (#361) 2019-12-23 11:13:23 +01:00
geethanjali 1dbb26000a Add ToC to README (#343)
Fixes #340
2019-10-31 11:14:40 +01:00
Marco Castelluccio 6ef59e0b96 Add a Docker image to simplify running integration tests
Fixes #258 and fixes #308
2019-10-20 18:41:56 +01:00
Marco Castelluccio 45c20c55a0 Stop mentioning installing LLVM headers and libraries, as they are no longer required for building
Since when we switched to a pure Rust parser.
2019-10-20 18:41:56 +01:00
Jason Cooke 697ff08038 docs: fix typo (#334) 2019-10-15 22:48:25 +02:00
rrooij 2b0b43046b Rename --ignore-dir to --ignore in the Travis section in README.md (#328) 2019-10-07 15:37:22 +01:00
Jan-Erik Rediger 394330ba4c Replace help output in README with up-to-date version (#327) 2019-10-07 14:41:24 +01:00
Crawford Leeds efe830326f Make pre-commit only run unit tests (#310) 2019-09-02 23:50:58 +02:00
Crawford Leeds d46cfb609d Format source files and add pre-commit configuration (#305) 2019-08-08 19:07:59 +02:00
kenkoooo c005222399 Update README.md to use new version in the example (#292)
* Update README.md to use new version in the example

* Update README.md
2019-06-07 09:49:00 +02:00
Marco 7e7f0ebcce Use clap to handle CLI options (#276)
Fixes #23
2019-04-27 14:46:30 +02:00
Marco 2340c9f8ea
Use -o flag instead of redirecting output in CI scripts (#269)
Fixes #257
2019-03-29 10:37:57 +01:00
calixteman 7b3c6e72f1
Explain how to use grcov with Travis (#250)
* Explain how to use grcov with Travis

* Fix nits

* Add -Zno-landing-pads
2019-02-04 16:18:08 +01:00
Luciana da Costa Marques 63a579fbff Explain requirement on LLVM >= 7 in README (#248) 2019-01-28 20:25:16 +01:00
Marco Castelluccio 5621c8ee20 Make 'lcov' the default output format and improve the Usage text 2018-10-05 16:46:10 +02:00
Marco Castelluccio 7dafe4f0c9 Specify that LLVM libraries and headers are required to build. Fixes #68 2018-10-05 16:33:38 +02:00
Marco Castelluccio 3317c70b07 Misc improvements to documentation 2018-10-05 16:28:27 +02:00
Sylvestre Ledru 433dac5147 Improve documentation in README (#184) 2018-10-05 12:19:39 +02:00
calixteman 6c00eff3df Add code coverage to grcov (Linux and Mac) (#179) 2018-10-04 20:09:19 +02:00
Marco Castelluccio c3a995d34b Specify that the Coveralls output is also supported by Codecov 2018-06-21 10:11:32 +01:00
Marco Castelluccio aa5c1e63ac Update releases URL in README 2018-06-21 10:10:45 +01:00
Marco Castelluccio f75dac07e1 Update Travis URL in README 2018-06-21 10:09:27 +01:00
Marco Castelluccio efb4cf136f Fix Appveyor link 2018-01-08 17:20:20 +01:00