From 257c9da18aecb23fce34e2d34c31ddd9468586aa Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Wed, 1 Apr 2020 23:32:39 +0800 Subject: [PATCH] Try upload coverage with token (#7930) --- .github/workflows/dev-test.yml | 1 + jest.config.js | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/dev-test.yml b/.github/workflows/dev-test.yml index b72bfd810af9..fe4c187bc442 100644 --- a/.github/workflows/dev-test.yml +++ b/.github/workflows/dev-test.yml @@ -52,5 +52,6 @@ jobs: uses: codecov/codecov-action@v1 if: matrix.ENABLE_CODE_COVERAGE with: + token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage/lcov.info fail_ci_if_error: true diff --git a/jest.config.js b/jest.config.js index 2299ca688d7a..bfa41d6afc4f 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,4 @@ "use strict"; -const { isCI } = require("ci-info"); const ENABLE_CODE_COVERAGE = !!process.env.ENABLE_CODE_COVERAGE; module.exports = { @@ -33,5 +32,4 @@ module.exports = { "jest-watch-typeahead/filename", "jest-watch-typeahead/testname", ], - verbose: isCI, };