Skip to content

Commit

Permalink
Try upload coverage with token (#7930)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Apr 1, 2020
1 parent ce399f2 commit 257c9da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"use strict";
const { isCI } = require("ci-info");
const ENABLE_CODE_COVERAGE = !!process.env.ENABLE_CODE_COVERAGE;

module.exports = {
Expand Down Expand Up @@ -33,5 +32,4 @@ module.exports = {
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname",
],
verbose: isCI,
};

0 comments on commit 257c9da

Please sign in to comment.