Compare commits

..

112 Commits

Author SHA1 Message Date
Tom Hu
d3e4a774c5 Bump to 1.1.0 2020-12-17 10:34:23 -05:00
Tom Hu
d9b5cc1d8b Merge pull request #172 from drazisil/patch-1
File is saved as text
2020-11-22 19:02:13 -05:00
Drazi Crendraven
0d4ed40235 File is saved as text
Fixes #171
2020-11-22 14:43:36 -05:00
Tom Hu
239febf655 Merge pull request #168 from codecov/1.0.15
Add package argument
2020-11-16 11:23:18 -05:00
Tom Hu
089f66bf94 Add package argument 2020-11-15 23:05:55 -05:00
Tom Hu
97477378d5 Merge pull request #165 from codecov/dependabot/npm_and_yarn/ts-jest-26.4.4
Bump ts-jest from 26.4.3 to 26.4.4
2020-11-10 09:00:04 -05:00
dependabot-preview[bot]
5aab34a5de Bump ts-jest from 26.4.3 to 26.4.4
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.4.3 to 26.4.4.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.4.3...v26.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 06:58:03 +00:00
Tom Hu
7bd0b70f4c Merge pull request #159 from codecov/dependabot/npm_and_yarn/typescript-4.0.5
Bump typescript from 4.0.3 to 4.0.5
2020-11-04 23:14:16 -05:00
Tom Hu
e1530fdc6a Merge pull request #154 from codecov/dependabot/npm_and_yarn/types/jest-26.0.15
Bump @types/jest from 26.0.14 to 26.0.15
2020-11-04 23:14:00 -05:00
dependabot-preview[bot]
4093ac2f32 Bump typescript from 4.0.3 to 4.0.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.3 to 4.0.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.3...v4.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-05 04:06:06 +00:00
dependabot-preview[bot]
f1824ac807 Bump @types/jest from 26.0.14 to 26.0.15
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.14 to 26.0.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-05 04:05:12 +00:00
Tom Hu
3fbed96f43 Merge pull request #160 from codecov/dependabot/npm_and_yarn/ts-jest-26.4.3
Bump ts-jest from 26.4.1 to 26.4.3
2020-11-04 23:04:34 -05:00
Tom Hu
54f44cc9f4 Merge pull request #162 from codecov/dependabot/npm_and_yarn/jest-26.6.3
Bump jest from 26.5.3 to 26.6.3
2020-11-04 23:03:26 -05:00
dependabot-preview[bot]
a74dfd1451 Bump jest from 26.5.3 to 26.6.3
Bumps [jest](https://github.com/facebook/jest) from 26.5.3 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.5.3...v26.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-04 06:43:55 +00:00
dependabot-preview[bot]
5bdef2c17a Bump ts-jest from 26.4.1 to 26.4.3
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.4.1 to 26.4.3.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.4.1...v26.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 06:49:00 +00:00
Tom Hu
7d5dfa5490 Merge pull request #151 from codecov/verbose
Add verbosity
2020-10-18 10:33:56 -04:00
Tom Hu
5f38498d62 Just run it twice 2020-10-16 18:30:27 -04:00
Tom Hu
8b6b12970b Add verbosity to test 2020-10-16 18:28:45 -04:00
Tom Hu
283d2693b9 Add verbosity 2020-10-16 18:27:17 -04:00
Tom Hu
dade30aaa0 Merge pull request #150 from codecov/dependabot/npm_and_yarn/jest-26.5.3
Bump jest from 26.5.2 to 26.5.3
2020-10-15 22:03:42 -04:00
dependabot-preview[bot]
45781c3764 Bump jest from 26.5.2 to 26.5.3
Bumps [jest](https://github.com/facebook/jest) from 26.5.2 to 26.5.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.5.2...v26.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 06:54:17 +00:00
Tom Hu
4ebd4afddb Merge pull request #148 from codecov/dependabot/npm_and_yarn/jest-26.5.2
Bump jest from 26.5.0 to 26.5.2
2020-10-08 15:42:50 -04:00
dependabot-preview[bot]
55d6a07412 Bump jest from 26.5.0 to 26.5.2
Bumps [jest](https://github.com/facebook/jest) from 26.5.0 to 26.5.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.5.0...v26.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 06:49:07 +00:00
Tom Hu
becb93ba4e Merge pull request #147 from codecov/dependabot/npm_and_yarn/jest-26.5.0
Bump jest from 26.4.2 to 26.5.0
2020-10-06 08:08:49 -04:00
dependabot-preview[bot]
a7c76ea20b Bump jest from 26.4.2 to 26.5.0
Bumps [jest](https://github.com/facebook/jest) from 26.4.2 to 26.5.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.4.2...v26.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-06 06:50:33 +00:00
Thomas Hu
36d7ee02e2 Merge pull request #143 from codecov/dependabot/npm_and_yarn/ts-jest-26.4.1
Bump ts-jest from 26.4.0 to 26.4.1
2020-10-05 20:28:17 -04:00
dependabot-preview[bot]
2c9a90e8ef Bump ts-jest from 26.4.0 to 26.4.1
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.4.0 to 26.4.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.4.0...v26.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-06 00:20:05 +00:00
Thomas Hu
c76d967024 Merge pull request #145 from codecov/dependabot/npm_and_yarn/jest-junit-12.0.0
Bump jest-junit from 11.1.0 to 12.0.0
2020-10-05 20:18:26 -04:00
dependabot-preview[bot]
182414a4c5 Bump jest-junit from 11.1.0 to 12.0.0
Bumps [jest-junit](https://github.com/jest-community/jest-junit) from 11.1.0 to 12.0.0.
- [Release notes](https://github.com/jest-community/jest-junit/releases)
- [Commits](https://github.com/jest-community/jest-junit/compare/v11.1.0...v12.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 06:55:47 +00:00
Thomas Hu
1daf42f4a6 Merge pull request #142 from codecov/dependabot/npm_and_yarn/yarn-1.22.10
Bump yarn from 1.22.5 to 1.22.10
2020-10-02 18:29:43 -04:00
dependabot-preview[bot]
0445c85879 Bump yarn from 1.22.5 to 1.22.10
Bumps [yarn](https://github.com/yarnpkg/yarn) from 1.22.5 to 1.22.10.
- [Release notes](https://github.com/yarnpkg/yarn/releases)
- [Changelog](https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yarnpkg/yarn/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-29 06:49:44 +00:00
Thomas Hu
ec5dd54001 Merge pull request #141 from codecov/dependabot/npm_and_yarn/actions/core-1.2.6
Bump @actions/core from 1.2.5 to 1.2.6
2020-09-24 10:06:02 -04:00
dependabot-preview[bot]
563896ed23 Bump @actions/core from 1.2.5 to 1.2.6
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-24 06:56:43 +00:00
Thomas Hu
7051d617d5 Merge pull request #138 from codecov/dependabot/npm_and_yarn/ts-jest-26.4.0
Bump ts-jest from 26.3.0 to 26.4.0
2020-09-21 11:47:56 -04:00
dependabot-preview[bot]
e251b2328e Bump ts-jest from 26.3.0 to 26.4.0
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.3.0 to 26.4.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.3.0...v26.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-21 14:02:15 +00:00
Thomas Hu
9c8364c4b9 Merge pull request #139 from codecov/dependabot/npm_and_yarn/typescript-4.0.3
Bump typescript from 4.0.2 to 4.0.3
2020-09-21 10:00:23 -04:00
dependabot-preview[bot]
2ce6928a47 Bump typescript from 4.0.2 to 4.0.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.2...v4.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-21 06:57:31 +00:00
Thomas Hu
97889d423a Merge pull request #137 from codecov/dependabot/npm_and_yarn/types/jest-26.0.14
Bump @types/jest from 26.0.13 to 26.0.14
2020-09-17 10:14:16 -04:00
dependabot-preview[bot]
f32c526fb6 Bump @types/jest from 26.0.13 to 26.0.14
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.13 to 26.0.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-17 06:50:58 +00:00
Thomas Hu
f40be2e051 Merge pull request #134 from codecov/dependabot/npm_and_yarn/types/jest-26.0.13
Bump @types/jest from 26.0.10 to 26.0.13
2020-09-03 11:58:00 -04:00
dependabot-preview[bot]
c838bce9ba Bump @types/jest from 26.0.10 to 26.0.13
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.10 to 26.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-03 06:56:25 +00:00
Thomas Hu
a10ae7dc1c Merge pull request #131 from codecov/dependabot/npm_and_yarn/yarn-1.22.5
Bump yarn from 1.22.4 to 1.22.5
2020-08-28 15:35:23 -04:00
dependabot-preview[bot]
7b58dd4615 Bump yarn from 1.22.4 to 1.22.5
Bumps [yarn](https://github.com/yarnpkg/yarn) from 1.22.4 to 1.22.5.
- [Release notes](https://github.com/yarnpkg/yarn/releases)
- [Changelog](https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yarnpkg/yarn/compare/v1.22.4...v1.22.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-28 19:27:40 +00:00
Thomas Hu
4c21e05017 Merge pull request #130 from codecov/dependabot/npm_and_yarn/typescript-4.0.2
Bump typescript from 3.9.7 to 4.0.2
2020-08-28 15:25:58 -04:00
dependabot-preview[bot]
c5e41a8c86 Bump typescript from 3.9.7 to 4.0.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.7 to 4.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.7...v4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-28 06:55:10 +00:00
Thomas Hu
59ad392722 Merge pull request #128 from codecov/dependabot/npm_and_yarn/actions/core-1.2.5
Bump @actions/core from 1.2.4 to 1.2.5
2020-08-27 10:17:18 -04:00
Thomas Hu
2df0a7632f Merge pull request #129 from codecov/dependabot/npm_and_yarn/ts-jest-26.3.0
Bump ts-jest from 26.2.0 to 26.3.0
2020-08-27 10:16:55 -04:00
dependabot-preview[bot]
b9325ac3dd Bump ts-jest from 26.2.0 to 26.3.0
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.2.0 to 26.3.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.2.0...v26.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-27 06:53:50 +00:00
dependabot-preview[bot]
1d594a8c0e Bump @actions/core from 1.2.4 to 1.2.5
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-27 06:53:15 +00:00
Thomas Hu
d02c2109fe Merge pull request #122 from codecov/dependabot/npm_and_yarn/actions/core-1.2.4
Bump @actions/core from 1.2.0 to 1.2.4
2020-08-26 10:31:24 -04:00
dependabot-preview[bot]
529a536f37 Bump @actions/core from 1.2.0 to 1.2.4
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.0 to 1.2.4.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 14:06:34 +00:00
Thomas Hu
dba9e16939 Merge pull request #119 from codecov/dependabot/npm_and_yarn/actions/exec-1.0.4
Bump @actions/exec from 1.0.1 to 1.0.4
2020-08-26 10:04:46 -04:00
Thomas Hu
6ebb0218c1 Merge pull request #127 from fossabot/add-license-scan-badge
Add license scan report and status
2020-08-25 15:49:41 -04:00
fossabot
59241bde96 Add license scan report and status
Signed off by: fossabot <badges@fossa.com>
2020-08-25 13:19:19 -05:00
Thomas Hu
6228851670 Merge pull request #121 from codecov/dependabot/npm_and_yarn/jest-26.4.2
Bump jest from 26.1.0 to 26.4.2
2020-08-25 08:56:33 -04:00
dependabot-preview[bot]
5e530f4a66 Bump jest from 26.1.0 to 26.4.2
Bumps [jest](https://github.com/facebook/jest) from 26.1.0 to 26.4.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.1.0...v26.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-25 12:11:41 +00:00
dependabot-preview[bot]
f08bd0b1cb Bump @actions/exec from 1.0.1 to 1.0.4
Bumps [@actions/exec](https://github.com/actions/toolkit/tree/HEAD/packages/exec) from 1.0.1 to 1.0.4.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/exec/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/exec)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-25 12:11:38 +00:00
Thomas Hu
48269c03b1 Merge pull request #126 from codecov/dependabot/npm_and_yarn/types/jest-26.0.10
Bump @types/jest from 26.0.4 to 26.0.10
2020-08-25 08:09:36 -04:00
dependabot-preview[bot]
abd3026ea7 Bump @types/jest from 26.0.4 to 26.0.10
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.4 to 26.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-25 12:07:43 +00:00
Thomas Hu
076efa6234 Merge pull request #125 from codecov/dependabot/npm_and_yarn/ts-jest-26.2.0
Bump ts-jest from 26.1.1 to 26.2.0
2020-08-25 08:05:35 -04:00
Thomas Hu
ff34c520be Merge pull request #124 from codecov/dependabot/npm_and_yarn/request-2.88.2
Bump request from 2.88.0 to 2.88.2
2020-08-25 08:04:06 -04:00
dependabot-preview[bot]
703dcd27a4 Bump ts-jest from 26.1.1 to 26.2.0
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.1.1 to 26.2.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.1.1...v26.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-25 06:54:38 +00:00
dependabot-preview[bot]
e2ce2d2a09 Bump request from 2.88.0 to 2.88.2
Bumps [request](https://github.com/request/request) from 2.88.0 to 2.88.2.
- [Release notes](https://github.com/request/request/releases)
- [Changelog](https://github.com/request/request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/request/request/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-25 06:54:07 +00:00
Thomas Hu
d035c0b282 Merge pull request #120 from codecov/dependabot/npm_and_yarn/jest-junit-11.1.0
Bump jest-junit from 10.0.0 to 11.1.0
2020-08-24 21:39:59 -04:00
Thomas Hu
ef391107f0 Merge pull request #123 from codecov/dependabot/npm_and_yarn/typescript-3.9.7
Bump typescript from 3.9.6 to 3.9.7
2020-08-24 21:37:47 -04:00
dependabot-preview[bot]
912b097972 Bump typescript from 3.9.6 to 3.9.7
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 3.9.7.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-25 01:35:16 +00:00
dependabot-preview[bot]
86a2fa8deb Bump jest-junit from 10.0.0 to 11.1.0
Bumps [jest-junit](https://github.com/jest-community/jest-junit) from 10.0.0 to 11.1.0.
- [Release notes](https://github.com/jest-community/jest-junit/releases)
- [Commits](https://github.com/jest-community/jest-junit/compare/v10.0.0...v11.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-25 01:33:39 +00:00
Thomas Hu
6004246f47 Merge pull request #114 from codecov/timeouts
Add more timeout tries and decrease timeout time
2020-08-17 22:13:50 -04:00
Thomas Hu
5d3f01ccdc Up the number of attempts 2020-08-17 17:14:51 -04:00
Thomas Hu
2d80980946 Add more timeouts and sharter timeout 2020-08-17 17:05:37 -04:00
Thomas Hu
fadbb25281 Merge pull request #109 from ibrahim0814/patch-1
Update action.yml with new authors
2020-08-12 13:09:38 -04:00
Ibrahim Ali
ad774549da Update action.yml with new authors
Add Thomas Hu as new author 👍
2020-08-12 00:15:12 -07:00
Thomas Hu
07127fde53 Merge pull request #97 from codecov/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-22 09:57:50 -04:00
dependabot[bot]
9128542d5d Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 18:34:08 +00:00
Thomas Hu
6d208f5b52 Merge pull request #96 from codecov/1.0.12
Wrap request promise in try catch
2020-07-17 14:33:32 -04:00
Thomas Hu
8ddda09c14 Wrap request promise in try catch 2020-07-17 11:57:18 -04:00
Thomas Hu
e16d515d3b Merge pull request #90 from codecov/directory-and-debug
Add directory and file save
2020-07-13 13:21:09 -04:00
Thomas Hu
6b30325ebb Merge branch 'master' into directory-and-debug 2020-07-13 13:00:02 -04:00
Thomas Hu
95f699a0a9 Merge pull request #94 from codecov/update-readme
Add files to README
2020-07-10 17:53:16 -04:00
Thomas Hu
273443b325 Add files to README 2020-07-10 15:32:51 -04:00
Thomas Hu
a258ec8bb8 Merge pull request #93 from codecov/specify-files
Specify files and add testing
2020-07-10 15:31:03 -04:00
Thomas Hu
89692c91b7 Specify files and add testing 2020-07-09 23:07:34 -04:00
Thomas Hu
85ec2c8d83 Add directory and file save 2020-07-07 22:36:09 -04:00
Thomas Hu
f3570723ef Merge pull request #89 from codecov/fix-ependency
Fix dependencies
2020-07-01 16:43:21 -04:00
Thomas Hu
f40f110376 Try requestretry 2020-07-01 15:47:57 -04:00
Thomas Hu
4f81def87b Upgrade ncc 2020-07-01 15:35:39 -04:00
Thomas Hu
ddc46b3107 Fix dependencies 2020-07-01 14:58:11 -04:00
Thomas Hu
1b088680d5 Fix dependencies 2020-07-01 14:48:26 -04:00
Thomas Hu
22f6ff10ac Merge pull request #88 from codecov/update-dist
Update dist
2020-07-01 11:57:59 -04:00
Thomas Hu
0ceca4b5d3 Install dependencies 2020-07-01 11:51:01 -04:00
Thomas Hu
3658bafacb Bump version 2020-07-01 11:45:18 -04:00
Thomas Hu
ef3b48314f Update dist 2020-07-01 11:40:05 -04:00
Thomas Hu
dbf1ddee08 Merge pull request #87 from codecov/retry-bash
Retry retrieval of bash script
2020-07-01 07:27:35 -04:00
Thomas Hu
cc6b0c11d2 Retry retrieval of bash script 2020-06-30 23:33:46 -04:00
Thomas Hu
f532c3a145 Merge pull request #64 from samuelcolvin/env-vars
Env vars
2020-05-06 17:35:02 -04:00
Thomas Hu
143333ba90 Merge pull request #67 from alex/patch-1
Fixes #66 -- include the current env when invoking the subprocess
2020-05-06 17:33:54 -04:00
Thomas Hu
a50851cfd8 Merge pull request #72 from christophebedard/fix-typo-readme
Fix typo in README
2020-05-06 17:32:30 -04:00
Thomas Hu
6914527afb Update index.js 2020-05-06 17:28:51 -04:00
Christophe Bedard
fff75f1901 Fix typo in README 2020-05-03 10:22:07 -04:00
Samuel Colvin
1804a456ff fix typos 2020-04-04 14:01:58 +01:00
Alex Gaynor
d1b4c72fc5 Update index.js 2020-03-21 20:47:24 -04:00
Alex Gaynor
6fd09f835d Fixes #66 -- include the current env when invoking the subprocess 2020-03-21 20:47:04 -04:00
Samuel Colvin
e866b3854d add docs 2020-03-20 16:05:53 +00:00
Samuel Colvin
608816e426 remove log statements 2020-03-20 11:27:29 +00:00
Samuel Colvin
2ce3b3807d rebuild dist 2020-03-20 11:21:50 +00:00
Samuel Colvin
0e6a911c9b add '-e' flag 2020-03-19 16:46:53 +00:00
Samuel Colvin
d04135f7cf debug log 2020-03-19 16:39:42 +00:00
Samuel Colvin
7938e79f4c adding 'env_vars' input option 2020-03-19 16:31:53 +00:00
Ibrahim Ali
a3a6becb2c Update README.md 2020-03-07 00:00:34 -08:00
Ibrahim Ali
bf0e754c09 Update README.md 2020-03-07 00:00:14 -08:00
Ibrahim Ali
daa5098552 update latest version line on readme 2020-03-06 23:59:58 -08:00
Ibrahim Ali
71d5dea6af Add example for how to specify multiple flags 2020-03-05 00:00:10 -08:00
14 changed files with 51722 additions and 24937 deletions

View File

@@ -1,14 +1,27 @@
name: Example workflow for Codecov
name: Workflow for Codecov Action
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Upload coverage to Codecov
uses: ./
with:
#commenting out token because tokenless uploads are now supported
#token: ${{secrets.CODECOV_TOKEN}}
flags: unittest
name: codecov-1
- name: Checkout
uses: actions/checkout@master
- name: Install dependencies
run: npm install
- name: Run tests and collect coverage
run: yarn run test-all
- name: Upload coverage to Codecov
uses: ./
with:
files: ./coverage/calculator/coverage-final.json,./coverage/index/coverage-final.json
file: ./coverage/coverage-final.json
flags: unittest
name: codecov-1
- name: Upload coverage to Codecov (verbose)
uses: ./
with:
files: ./coverage/calculator/coverage-final.json,./coverage/index/coverage-final.json
file: ./coverage/coverage-final.json
flags: unittest
name: codecov-1
verbose: true

13
CHANGELOG.md Normal file
View File

@@ -0,0 +1,13 @@
### 1.1.0
#### Features
- #110 Add "working-directory:" input
- #174 Support Xcode specificed parameters
#### Fixes
- #172 File is saved as text
#### Dependencies and Misc
- #166 Bump requestretry from 4.1.1 to 4.1.2
- #169 Bump typescript from 4.0.5 to 4.1.2
- #178 Bump @types/jest from 26.0.15 to 26.0.19

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2019 Codecov
Copyright (c) 2019-2020 Codecov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@@ -1,13 +1,14 @@
# Codecov GitHub Action
# Codecov GitHub Action
[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-v1-undefined.svg?logo=github&logoColor=white&style=flat)](https://github.com/marketplace/actions/codecov)
### Easily upload coverage reports to Codecov from GitHub Actions
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-action.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-action?ref=badge_shield)
### Easily upload coverage reports to Codecov from GitHub Actions
>The latest release of this Action adds support for macOS + Windows builds and tokenless uploads for public repos!
>The latest release of this Action adds support for tokenless uploads from GitHub Actions!
## Usage
To integrate Codecov with your Actions pipeline, specify the name of this repository with a tag number (`@v1` is recommended) as a `step` within your `workflow.yml` file.
To integrate Codecov with your Actions pipeline, specify the name of this repository with a tag number (`@v1` is recommended) as a `step` within your `workflow.yml` file.
If you have a *private repository*, this Action also requires you to [provide an upload token](https://docs.codecov.io/docs/frequently-asked-questions#section-where-is-the-repository-upload-token-found-) from [codecov.io](https://www.codecov.io) (tip: in order to avoid exposing your token, store it as a `secret`). Optionally, you can choose to include up to four additional inputs to customize the upload context. **For public repositories, no token is needed**
@@ -20,25 +21,32 @@ steps:
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
file: ./coverage.xml # optional
files: ./coverage1.xml,./coverage2.xml # optional
flags: unittests # optional
name: codecov-umbrella # optional
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
```
>**Note**: This assumes that you've set your Codecov token inside *Settings > Secrets* as `CODECOV_TOKEN`. If not, you can [get an upload token](https://docs.codecov.io/docs/frequently-asked-questions#section-where-is-the-repository-upload-token-found-) for your specific repo on [codecov.io](https://www.codecov.io). Keep in mind that secrets are *not* available to forks of repositories.
>**Note**: This assumes that you've set your Codecov token inside *Settings > Secrets* as `CODECOV_TOKEN`. If not, you can [get an upload token](https://docs.codecov.io/docs/frequently-asked-questions#section-where-is-the-repository-upload-token-found-) for your specific repo on [codecov.io](https://www.codecov.io). Keep in mind that secrets are *not* available to forks of repositories.
## Arguments
Codecov's Action currently supports five inputs from the user: `token`, `file`, `flags`,`name`, and `fail_ci_if_error`. These inputs, along with their descriptions and usage contexts, are listed in the table below:
Codecov's Action currently supports five inputs from the user: `token`, `file`, `flags`,`name`, and `fail_ci_if_error`. These inputs, along with their descriptions and usage contexts, are listed in the table below:
>**Update**: We've removed the `yml` paramter with the latest release of this action. Please put your custom codecov yaml file at the root of the repo because other locations will no longer be supported in the future.
>**Update**: We've removed the `yml` parameter with the latest release of this action. Please put your custom codecov yaml file at the root of the repo because other locations will no longer be supported in the future.
| Input | Description | Usage |
| :---: | :---: | :---: |
| `token` | Used to authorize coverage report uploads | *Required for private repos* |
| `file` | Path to the coverage report(s) | Optional
| `flags` | Flag the upload to group coverage metrics (unittests, uitests, etc.) | Optional
| `files` | Comma-separated paths to the coverage report(s) | Optional
| `directory` | Directory to search for coverage reports. | Optional
| `flags` | Flag the upload to group coverage metrics (unittests, uitests, etc.). Multiple flags are separated by a comma (ui,chrome) | Optional
| `env_vars` | Environment variables to tag the upload with. Multiple env variables can be separated with commas (e.g. `OS,PYTHON`) | Optional
| `name` | Custom defined name for the upload | Optional
| `fail_ci_if_error` | Specify if CI pipeline should fail when Codecov runs into errors during upload. *Defaults to **false***. | Optional
| `fail_ci_if_error` | Specify if CI pipeline should fail when Codecov runs into errors during upload. *Defaults to **false*** | Optional
| `path_to_write_report` | Write upload file to path before uploading | Optional
| `verbose` | Specify whether the Codecov output should be verbose | Optional
### Example `workflow.yml` with Codecov Action
@@ -49,11 +57,14 @@ jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.7'
steps:
- uses: actions/checkout@master
- name: Setup Python
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.7
@@ -62,19 +73,27 @@ jobs:
pip install pytest
pip install pytest-cov
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
files: ./coverage1.xml,./coverage2.xml
directory: ./coverage/reports/
flags: unittests
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: true
path_to_write_report: ./coverage/codecov_report.txt
verbose: true
```
## Contributing
Contributions are welcome! Check out the [Contribution Guide](CONTRIBUTING.md).
## License
## License
The code in this project is released under the [MIT License](LICENSE).
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-action.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-action?ref=badge_large)

View File

@@ -1,26 +1,40 @@
name: 'Codecov'
description: 'GitHub Action that uploads coverage reports for your repository to codecov.io'
author: 'Ibrahim Ali <@ibrahim0814> | Codecov'
inputs:
author: 'Ibrahim Ali <@ibrahim0814> & Thomas Hu <@thomasrockhu> | Codecov'
inputs:
name:
description: 'User defined upload name. Visible in Codecov UI'
required: false
required: false
token:
description: 'Repository upload token - get it from codecov.io. Required only for private repositories'
required: false
required: false
file:
description: 'Path to coverage file to upload'
required: false
files:
description: 'Comma-separated list of files to upload'
required: false
directory:
description: 'Directory to search for coverage reports.'
required: false
flags:
description: 'Flag upload to group coverage metrics (e.g. unittests | integration | ui,chrome)'
required: false
path_to_write_report:
description: 'Write upload file to path before uploading'
required: false
env_vars:
description: 'Environment variables to tag the upload with (e.g. PYTHON | OS,PYTHON)'
required: false
fail_ci_if_error:
description: 'Specify whether or not CI build should fail if Codecov runs into an error during upload'
required: false
verbose:
description: 'Specify whether the Codecov output should be verbose'
required: false
branding:
color: 'red'
color: 'red'
icon: 'umbrella'
runs:
using: 'node12'
main: 'dist/index.js'

70913
dist/index.js vendored

File diff suppressed because one or more lines are too long

210
index.js
View File

@@ -1,7 +1,7 @@
const core = require("@actions/core");
const exec = require("@actions/exec");
const request = require("request");
const fs = require("fs");
const request = require('requestretry');
let fail_ci;
try {
@@ -9,6 +9,12 @@ try {
const token = core.getInput("token");
const flags = core.getInput("flags");
const file = core.getInput("file");
const files = core.getInput("files");
const env_vars = core.getInput("env_vars");
const dir = core.getInput("directory");
const write_path = core.getInput("path_to_write_report");
const verbose = core.getInput("verbose");
fail_ci = core.getInput("fail_ci_if_error").toLowerCase();
if (
@@ -23,87 +29,141 @@ try {
fail_ci = false;
}
request("https://codecov.io/bash", (error, response, body) => {
if (error && fail_ci) {
throw error;
} else if (error) {
core.warning(`Codecov warning: ${error.message}`);
}
fs.writeFile("codecov.sh", body, err => {
if (err && fail_ci) {
throw err;
} else if (err) {
core.warning(`Codecov warning: ${err.message}`);
request({
json: false,
maxAttempts: 10,
timeout: 3000,
url: "https://codecov.io/bash"
}, (error, response, body) => {
try {
if (error && fail_ci) {
throw error;
} else if (error) {
core.warning(`Codecov warning: ${error.message}`);
}
let output = "";
let execError = "";
const options = {};
options.listeners = {
stdout: data => {
output += data.toString();
},
stderr: data => {
execError += data.toString();
fs.writeFile("codecov.sh", body, err => {
if (err && fail_ci) {
throw err;
} else if (err) {
core.warning(`Codecov warning: ${err.message}`);
}
};
options.env = {
GITHUB_ACTION: process.env.GITHUB_ACTION,
GITHUB_RUN_ID: process.env.GITHUB_RUN_ID,
GITHUB_REF: process.env.GITHUB_REF,
GITHUB_REPOSITORY: process.env.GITHUB_REPOSITORY,
GITHUB_SHA: process.env.GITHUB_SHA,
GITHUB_HEAD_REF: process.env.GITHUB_HEAD_REF || ''
};
if(token){
options.env.CODECOV_TOKEN = token
}
const execArgs = ["codecov.sh"];
if (file) {
execArgs.push(
"-f", `${file}`
);
}
execArgs.push(
"-n", `${name}`,
"-F", `${flags}`
);
if (fail_ci) {
execArgs.push(
"-Z"
);
}
exec.exec("bash", execArgs, options)
.catch(err => {
if (fail_ci) {
core.setFailed(
`Codecov failed with the following error: ${err.message}`
);
} else {
core.warning(`Codecov warning: ${err.message}`);
let output = "";
let execError = "";
const options = {};
options.listeners = {
stdout: data => {
output += data.toString();
},
stderr: data => {
execError += data.toString();
}
})
.then(() => {
unlinkFile();
});;
};
const unlinkFile = () => {
fs.unlink("codecov.sh", err => {
if (err && fail_ci) {
throw err;
} else if (err) {
core.warning(`Codecov warning: ${err.message}`);
}
options.env = Object.assign(process.env, {
GITHUB_ACTION: process.env.GITHUB_ACTION,
GITHUB_RUN_ID: process.env.GITHUB_RUN_ID,
GITHUB_REF: process.env.GITHUB_REF,
GITHUB_REPOSITORY: process.env.GITHUB_REPOSITORY,
GITHUB_SHA: process.env.GITHUB_SHA,
GITHUB_HEAD_REF: process.env.GITHUB_HEAD_REF || ''
});
};
});
if(token){
options.env.CODECOV_TOKEN = token
}
const env_vars_arg = []
for (let env_var of env_vars.split(",")) {
let env_var_clean = env_var.trim();
if (env_var_clean) {
options.env[env_var_clean] = process.env[env_var_clean];
env_vars_arg.push(env_var_clean)
}
}
const execArgs = ["codecov.sh"];
execArgs.push("-Q", "github-action");
if (file) {
execArgs.push(
"-f", `${file}`
);
}
if (files) {
files.split(',').forEach(f => {
execArgs.push(
"-f", `${f}`
);
});
}
if (dir) {
execArgs.push(
"-s", `${dir}`
);
}
execArgs.push(
"-n", `${name}`,
"-F", `${flags}`
);
if (fail_ci) {
execArgs.push(
"-Z"
);
}
if (env_vars_arg.length) {
execArgs.push(
"-e", env_vars_arg.join(",")
);
}
if (write_path) {
execArgs.push(
"-q", `${write_path}`
);
}
if (verbose) {
execArgs.push(
"-v"
);
}
exec.exec("bash", execArgs, options)
.catch(err => {
if (fail_ci) {
core.setFailed(
`Codecov failed with the following error: ${err.message}`
);
} else {
core.warning(`Codecov warning: ${err.message}`);
}
})
.then(() => {
unlinkFile();
});
const unlinkFile = () => {
fs.unlink("codecov.sh", err => {
if (err && fail_ci) {
throw err;
} else if (err) {
core.warning(`Codecov warning: ${err.message}`);
}
});
};
});
} catch (error) {
core.setFailed(
`Codecov failed with the following error: ${error.message}`
);
}
});
} catch (error) {
if (fail_ci) {

4
jest.config.js Normal file
View File

@@ -0,0 +1,4 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
}

5340
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,13 @@
{
"name": "codecov-action",
"version": "1.0.5",
"version": "1.0.16",
"description": "Upload coverage reports to Codecov from GitHub Actions",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "jest --coverage",
"test-calculator": "jest --testPathPattern=src/calculator/ --coverage --coverageDirectory=coverage/calculator",
"test-index": "jest --testPathPattern=src/index --coverage --coverageDirectory=coverage/index",
"test-all": "yarn run test && yarn run test-calculator && yarn run test-index",
"build": "ncc build index.js"
},
"repository": {
@@ -19,11 +22,18 @@
},
"homepage": "https://github.com/codecov/codecov-action#readme",
"dependencies": {
"@actions/core": "^1.2.0",
"@actions/exec": "^1.0.1",
"@zeit/ncc": "^0.20.5",
"@actions/core": "^1.2.6",
"@actions/exec": "^1.0.4",
"@types/jest": "^26.0.15",
"@zeit/ncc": "^0.22.3",
"fs": "0.0.1-security",
"request": "^2.88.0"
"jest": "^26.6.3",
"jest-junit": "^12.0.0",
"request": "^2.88.2",
"requestretry": "^4.1.1",
"ts-jest": "^26.4.4",
"typescript": "^4.0.5",
"yarn": "^1.22.10"
},
"devDependencies": {}
}

View File

@@ -0,0 +1,11 @@
import Calculator from './calculator'
test('adds 2 + 3 to equal 5', () => {
const calc = new Calculator()
expect(calc.add(2, 3)).toBe(5);
});
test('subtracts 2 - 3 to equal -1', () => {
const calc = new Calculator()
expect(calc.subtract(2, 3)).toBe(-1);
});

View File

@@ -0,0 +1,10 @@
export default class Calculator {
add(x : number, y : number) : number {
return x + y;
}
subtract(x: number, y: number) : number {
return x - y;
}
}

11
src/index/index.test.ts Normal file
View File

@@ -0,0 +1,11 @@
import Index from "./index";
test('test uncovered if', () => {
const indexObj = new Index();
expect(indexObj.uncovered_if()).toEqual(false);
});
test('fully covered', () => {
const indexObj = new Index();
expect(indexObj.fully_covered()).toEqual(true);
});

21
src/index/index.ts Normal file
View File

@@ -0,0 +1,21 @@
export default class Index {
//This function is tested and part of it is uncovered
uncovered_if = (a = true) => {
if (a == true) {
return false
} else {
return true
}
}
//This function will be fully covered
fully_covered = () => {
return true
}
//This function will not be tested by unit tests
uncovered = () => {
return true
}
}