From 5e976c5dd179a1d3798af119e14a7bf414e0bdf2 Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Sat, 7 Dec 2019 21:31:39 +0100 Subject: [PATCH] Only coverage report on test success, fixes #230 Addresses only the `jest` case, other cases can be handled via subsequent pull requests. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c59b20c5..1fe1b67d 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ env: - Use the following to run tests and push files to coveralls: ```sh - jest --coverage --coverageReporters=text-lcov | coveralls + jest --coverage && coveralls < coverage/lcov.info ``` Check out an example [here](https://github.com/Ethan-Arrowood/harperdb-connect/blob/master/.travis.yml) which makes use of Travis CI build stages