Compare commits

..

415 Commits

Author SHA1 Message Date
Tom Hu
0e28ff86a5 Merge pull request #284 from codecov/1.4.0
Bump to 1.4.0
2021-04-16 12:54:26 -04:00
Tom Hu
72182f9425 Bump to 1.4.0 2021-04-16 11:23:33 -04:00
Tom Hu
ce1ffb8db7 Merge pull request #282 from codecov/add-checksum-verification
Add checksum verification of bash script
2021-04-16 11:21:04 -04:00
Tom Hu
864620acb9 Use i not 1 2021-04-16 07:58:51 -04:00
Tom Hu
6ac8172373 copypasta 2021-04-15 22:30:15 -04:00
Tom Hu
5ab0dbc584 alpha 2021-04-15 22:28:38 -04:00
Tom Hu
5e8c27dd4d tab 2021-04-15 22:26:06 -04:00
Tom Hu
444b352d52 Update tests 2021-04-15 22:25:03 -04:00
Tom Hu
83cbbf806b Add another test 2021-04-15 22:10:41 -04:00
Tom Hu
040839f579 Add validation of checksums 2021-04-15 22:08:27 -04:00
Tom Hu
6e56f7a5a6 Test version pulling 2021-04-15 11:25:10 -04:00
Tom Hu
9b0b9bbe2c Merge pull request #265 from codecov/dependabot/npm_and_yarn/typescript-eslint/parser-4.20.0
Bump @typescript-eslint/parser from 4.16.1 to 4.20.0
2021-04-02 15:07:48 -04:00
Tom Hu
1ee0196081 Merge pull request #264 from codecov/1.3.2
Overwrite pull_request_target pr number
2021-04-02 15:07:05 -04:00
Eli Hooten
c6a36d2dbb Merge pull request #263 from codecov/dependabot/npm_and_yarn/y18n-4.0.1
[Security] Bump y18n from 4.0.0 to 4.0.1
2021-04-01 09:24:23 -05:00
dependabot-preview[bot]
aaf0ccb935 Bump @typescript-eslint/parser from 4.16.1 to 4.20.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.16.1 to 4.20.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.20.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-30 06:38:32 +00:00
Tom Hu
d9a1bbc2da Overwrite pull_request_target pr number 2021-03-29 18:11:53 -04:00
dependabot-preview[bot]
18017b2a95 [Security] Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 18:40:26 +00:00
Tom Hu
fcebab03f2 Merge pull request #253 from codecov/1.3.1
Add network_filter to manifest
2021-03-16 11:43:28 -04:00
Tom Hu
7ea3ba9ac0 Add network_filter to manifest 2021-03-16 11:39:24 -04:00
Tom Hu
6ed0d16b40 Merge pull request #252 from codecov/1.3.0
Add network filter parameter
2021-03-16 09:30:08 -04:00
Tom Hu
79a0ba12c8 Add network filter parameter 2021-03-16 09:18:54 -04:00
Tom Hu
1f8f3abccc Merge pull request #247 from codecov/1.2.2
Bump to 1.2.2
2021-03-09 10:48:33 -05:00
Tom Hu
763298c6f6 Update CHANGELOG.md 2021-03-09 10:14:45 -05:00
Tom Hu
3207ad4e60 Merge pull request #241 from jeffkenney/fix-root-dir-arg
pass root_dir using proper bash arg
2021-03-09 10:14:26 -05:00
Tom Hu
ab3cfafc5b Bump to 1.2.2 2021-03-09 10:11:33 -05:00
Tom Hu
b708b7e81f Merge pull request #244 from codecov/override-fetch-depth
Overwrite the commit on pull_request* events
2021-03-09 10:06:18 -05:00
Tom Hu
65f43cece2 actually 2021-03-08 19:30:10 -05:00
Tom Hu
21a1e2948d Actually update tests 2021-03-08 19:25:23 -05:00
Tom Hu
227f879cd0 Fix test 2021-03-08 19:21:55 -05:00
Tom Hu
87fff2e891 payload 2021-03-08 19:18:47 -05:00
Tom Hu
50212c96c8 Dont need event 2021-03-08 19:14:20 -05:00
Tom Hu
e77dab65bf Do commit SHA edit for pull_request* 2021-03-08 19:11:29 -05:00
Tom Hu
ddfe212d72 output context 2021-03-08 19:03:49 -05:00
Tom Hu
71a6279758 Fix tests 2021-03-08 18:46:53 -05:00
Tom Hu
6a50e6841d Add actions/github 2021-03-08 18:43:48 -05:00
Tom Hu
482a90585e Try forcing the commit 2021-03-08 18:42:16 -05:00
Jeff Kenney
b977d6544b pass root_dir using proper bash arg 2021-03-06 00:01:26 -08:00
Tom Hu
4c6543136b Merge pull request #226 from codecov/dependabot/npm_and_yarn/requestretry-5.0.0
Bump requestretry from 4.1.2 to 5.0.0
2021-03-05 09:51:08 -05:00
dependabot-preview[bot]
28d300eaea Bump requestretry from 4.1.2 to 5.0.0
Bumps [requestretry](https://github.com/FGRibreau/node-request-retry) from 4.1.2 to 5.0.0.
- [Release notes](https://github.com/FGRibreau/node-request-retry/releases)
- [Changelog](https://github.com/FGRibreau/node-request-retry/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FGRibreau/node-request-retry/compare/v4.1.2...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 14:35:11 +00:00
Tom Hu
36360aa09d Merge pull request #235 from codecov/dependabot/npm_and_yarn/eslint-7.21.0
Bump eslint from 7.19.0 to 7.21.0
2021-03-05 09:25:48 -05:00
Tom Hu
f215202b84 Merge pull request #236 from codecov/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.16.1
Bump @typescript-eslint/eslint-plugin from 4.15.0 to 4.16.1
2021-03-05 09:25:40 -05:00
Tom Hu
7cd1dd7eac Merge pull request #240 from codecov/dependabot/npm_and_yarn/typescript-4.2.3
Bump typescript from 4.1.5 to 4.2.3
2021-03-05 09:25:31 -05:00
dependabot-preview[bot]
98c0755768 Bump @typescript-eslint/eslint-plugin from 4.15.0 to 4.16.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.0 to 4.16.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.16.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 13:32:38 +00:00
dependabot-preview[bot]
9347908382 Bump eslint from 7.19.0 to 7.21.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.19.0 to 7.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.19.0...v7.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 13:32:36 +00:00
dependabot-preview[bot]
ae688b209d Bump typescript from 4.1.5 to 4.2.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.5 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 13:32:28 +00:00
Tom Hu
d7eb181d2f Merge pull request #237 from codecov/dependabot/npm_and_yarn/typescript-eslint/parser-4.16.1
Bump @typescript-eslint/parser from 4.15.0 to 4.16.1
2021-03-05 08:30:51 -05:00
Tom Hu
a231e699a2 Merge pull request #238 from codecov/dependabot/npm_and_yarn/ts-jest-26.5.3
Bump ts-jest from 26.4.4 to 26.5.3
2021-03-05 08:24:35 -05:00
dependabot-preview[bot]
29fb46218a Bump ts-jest from 26.4.4 to 26.5.3
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.4.4 to 26.5.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.4...v26.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-04 06:25:21 +00:00
dependabot-preview[bot]
ad2aaf2f71 Bump @typescript-eslint/parser from 4.15.0 to 4.16.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.15.0 to 4.16.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.16.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-02 06:28:48 +00:00
Tom Hu
ca774cf8f0 Merge pull request #214 from codecov/dependabot/npm_and_yarn/typescript-eslint/parser-4.15.0
Bump @typescript-eslint/parser from 4.14.0 to 4.15.0
2021-02-12 09:46:59 -05:00
Tom Hu
44d1ae6c73 Merge pull request #218 from codecov/dependabot/npm_and_yarn/typescript-4.1.5
Bump typescript from 4.1.3 to 4.1.5
2021-02-12 09:46:39 -05:00
dependabot-preview[bot]
ed0e49eac0 Bump typescript from 4.1.3 to 4.1.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-12 14:41:40 +00:00
dependabot-preview[bot]
ed1a046a3f Bump @typescript-eslint/parser from 4.14.0 to 4.15.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.14.0 to 4.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-12 14:41:30 +00:00
Tom Hu
16636eb6e0 Merge pull request #213 from codecov/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.15.0
Bump @typescript-eslint/eslint-plugin from 4.14.0 to 4.15.0
2021-02-12 09:39:52 -05:00
dependabot-preview[bot]
b3274555d8 Bump @typescript-eslint/eslint-plugin from 4.14.0 to 4.15.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.14.0 to 4.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-12 14:38:28 +00:00
Tom Hu
53f9cbed3c Merge pull request #210 from codecov/dependabot/npm_and_yarn/eslint-7.19.0
Bump eslint from 7.18.0 to 7.19.0
2021-02-12 09:36:38 -05:00
dependabot-preview[bot]
14434e0c72 Bump eslint from 7.18.0 to 7.19.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.18.0...v7.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 06:54:34 +00:00
Tom Hu
2838b54ec2 Merge pull request #202 from codecov/dependabot/npm_and_yarn/eslint-7.18.0
Bump eslint from 7.17.0 to 7.18.0
2021-01-21 13:11:58 -05:00
Tom Hu
33faa01b4d Merge pull request #197 from codecov/dependabot/npm_and_yarn/types/jest-26.0.20
Bump @types/jest from 26.0.19 to 26.0.20
2021-01-21 13:07:36 -05:00
dependabot-preview[bot]
ebab471b65 Bump eslint from 7.17.0 to 7.18.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.17.0 to 7.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.17.0...v7.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-21 18:07:08 +00:00
Tom Hu
1789bbabef Merge pull request #203 from codecov/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.14.0
Bump @typescript-eslint/eslint-plugin from 4.11.1 to 4.14.0
2021-01-21 13:05:19 -05:00
dependabot-preview[bot]
eedcbd59dc Bump @typescript-eslint/eslint-plugin from 4.11.1 to 4.14.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.11.1 to 4.14.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-21 17:10:39 +00:00
Tom Hu
83e6a29c16 Merge pull request #204 from codecov/dependabot/npm_and_yarn/typescript-eslint/parser-4.14.0
Bump @typescript-eslint/parser from 4.11.1 to 4.14.0
2021-01-21 12:08:55 -05:00
dependabot-preview[bot]
dd9b809996 Bump @typescript-eslint/parser from 4.11.1 to 4.14.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.11.1 to 4.14.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 06:24:43 +00:00
dependabot-preview[bot]
61b20ce181 Bump @types/jest from 26.0.19 to 26.0.20
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.19 to 26.0.20.
- [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>
2021-01-08 07:10:04 +00:00
Tom Hu
e156083f13 Merge pull request #196 from codecov/1.2.1
Add parameters to the action.yml
2021-01-05 23:27:57 -05:00
Tom Hu
e9131c5f9c Add parameters to the action.yml 2021-01-05 17:31:56 -05:00
Tom Hu
a92c414703 Merge pull request #193 from codecov/v2
Add all the bash params
2021-01-04 09:28:24 -05:00
Tom Hu
8d13d6a7ba cleanup 2021-01-02 19:18:26 -05:00
Tom Hu
1acc162055 permissions? 2021-01-02 19:16:25 -05:00
Tom Hu
6961e2c698 lint 2021-01-02 19:13:56 -05:00
Tom Hu
431265badf Update linter 2021-01-02 19:03:40 -05:00
Tom Hu
5dca80cf76 lint 2021-01-02 19:02:52 -05:00
Tom Hu
4dcb7122e5 lint 2021-01-02 19:01:39 -05:00
Tom Hu
be4e2a5e02 Update changelog 2021-01-02 18:53:08 -05:00
Tom Hu
40b489d797 Fix test 2021-01-02 18:51:07 -05:00
Tom Hu
853e99ac9d Update test 2021-01-02 18:47:08 -05:00
Tom Hu
1794277aa5 Add test 2021-01-02 18:45:08 -05:00
Tom Hu
27a4acecbb Split out buildExec 2021-01-02 18:30:42 -05:00
Tom Hu
0ad87e5850 Remove codecov.sh 2021-01-02 18:22:49 -05:00
Tom Hu
25cb7e3abf coverage-test 2021-01-02 18:19:58 -05:00
Tom Hu
a0e7a095bd Edit package.json 2021-01-02 18:16:30 -05:00
Tom Hu
2e67f32735 a name 2021-01-02 18:06:16 -05:00
Tom Hu
7a024964de Update test files 2021-01-02 18:02:41 -05:00
Tom Hu
e16afe2276 Fix test 2021-01-02 17:53:08 -05:00
Tom Hu
c0466185ef Add tests 2021-01-02 17:50:17 -05:00
Tom Hu
56353bc0f0 js is hard 2021-01-02 17:02:54 -05:00
Tom Hu
d9d5217980 more console 2021-01-02 16:56:42 -05:00
Tom Hu
8ad88ccc68 Console 2021-01-02 16:54:32 -05:00
Tom Hu
6a4eded237 Merge branch 'v2' of https://github.com/codecov/codecov-action into v2 2021-01-02 16:48:58 -05:00
Tom Hu
25b873867a Add all the bash params 2021-01-02 16:42:39 -05:00
Tom Hu
8323165032 Add all the bash params 2021-01-02 14:04:08 -05:00
Tom Hu
5b42a305f9 Merge pull request #179 from codecov/dependabot/npm_and_yarn/typescript-4.1.3
Bump typescript from 4.1.2 to 4.1.3
2020-12-21 16:13:42 -05:00
Tom Hu
29c457e537 Merge pull request #187 from codecov/dependabot/npm_and_yarn/node-notifier-8.0.1
[Security] Bump node-notifier from 8.0.0 to 8.0.1
2020-12-21 16:13:24 -05:00
dependabot-preview[bot]
b3ee0b08ef [Security] Bump node-notifier from 8.0.0 to 8.0.1
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 16:44:47 +00:00
Tom Hu
133f89a6b7 Merge pull request #185 from codecov/makefile
Actually have a makefile
2020-12-21 09:24:14 -05:00
Tom Hu
a03d57cdbd Actually have a makefile 2020-12-21 09:05:03 -05:00
Tom Hu
1fc7722ded Merge pull request #184 from codecov/makefile
Add automations ensure proper builds and deployments | Fix verbose flag
2020-12-21 08:57:25 -05:00
Tom Hu
08574d831c Add dist file 2020-12-20 17:04:06 -05:00
Tom Hu
0c1af46295 Update install script 2020-12-20 17:03:30 -05:00
Tom Hu
f8c87eb84e Update changelog 2020-12-20 17:02:09 -05:00
Tom Hu
8b988c28b0 Fix verbose flag 2020-12-20 17:01:12 -05:00
Tom Hu
4686d7034c Udpate CHANGELOG 2020-12-20 16:59:47 -05:00
Tom Hu
4ef30f27a0 Update changelog 2020-12-20 16:59:07 -05:00
Tom Hu
58cd650984 Update package-lock 2020-12-20 16:58:24 -05:00
Tom Hu
efb844969e force 2020-12-20 16:57:50 -05:00
Tom Hu
c6de3f8548 Add makefile and automations 2020-12-20 16:57:08 -05:00
Tom Hu
7de43a7373 Merge pull request #180 from codecov/1.1.0
Bump to 1.1.0
2020-12-17 13:21:17 -05:00
Tom Hu
d3e4a774c5 Bump to 1.1.0 2020-12-17 10:34:23 -05:00
Tom Hu
09facdbe25 Merge pull request #110 from khaeru/working-dir
Add "working-directory:" input
2020-12-16 11:21:50 -05:00
Paul Natsuo Kishimoto
c770ad46b3 Add "working-directory:" to README 2020-12-15 11:41:23 +01:00
Paul Natsuo Kishimoto
55dde41e2b Add "working-directory:" setting 2020-12-15 11:40:37 +01:00
dependabot-preview[bot]
11de6e2a71 Bump typescript from 4.1.2 to 4.1.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 07:09:15 +00:00
Tom Hu
beb5a9626e Merge pull request #178 from codecov/dependabot/npm_and_yarn/types/jest-26.0.19
Bump @types/jest from 26.0.15 to 26.0.19
2020-12-12 21:36:05 -05:00
dependabot-preview[bot]
a869df4496 Bump @types/jest from 26.0.15 to 26.0.19
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.15 to 26.0.19.
- [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-12-11 06:30:54 +00:00
Tom Hu
a116b3286f Merge pull request #169 from codecov/dependabot/npm_and_yarn/typescript-4.1.2
Bump typescript from 4.0.5 to 4.1.2
2020-12-09 21:42:17 -05:00
Tom Hu
a6c42c7a01 Merge pull request #174 from kingpowerclick/xcode-derived-data
Support Xcode specificed parameters
2020-12-09 21:36:55 -05:00
dependabot-preview[bot]
3c9462a34c Bump typescript from 4.0.5 to 4.1.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.5 to 4.1.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.5...v4.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-09 16:36:50 +00:00
Tom Hu
5155bd4dd2 Merge pull request #166 from codecov/dependabot/npm_and_yarn/requestretry-4.1.2
Bump requestretry from 4.1.1 to 4.1.2
2020-12-09 11:35:04 -05:00
Wipoo Shinsirikul
c047d5942e Support Xcode specificed parameters 2020-12-05 20:31:36 +07: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
dependabot-preview[bot]
3db8e6c626 Bump requestretry from 4.1.1 to 4.1.2
Bumps [requestretry](https://github.com/FGRibreau/node-request-retry) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/FGRibreau/node-request-retry/releases)
- [Changelog](https://github.com/FGRibreau/node-request-retry/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FGRibreau/node-request-retry/compare/v4.1.1...v4.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-12 06:46:28 +00: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
ibrahim0814
e34ee48524 remove sample coverage file 2020-03-04 22:37:01 -08:00
Ibrahim Ali
d7c91c57ee Merge pull request #53 from armano2/branch-support
Add support for pull requests and tokenless uploads
2020-03-04 22:24:12 -08:00
ibrahim0814
d9faadf52a more documentation updates 2020-03-04 22:22:38 -08:00
ibrahim0814
c70450d006 revert alt exec cmd 2020-03-04 22:02:07 -08:00
ibrahim0814
a6d365dd4c syntax error fix 2020-03-04 21:59:13 -08:00
ibrahim0814
94278ffe1b test alternate exec cmd 2020-03-04 21:57:29 -08:00
ibrahim0814
ebea5cacdf add more documentation notes 2020-03-04 19:59:17 -08:00
ibrahim0814
6a65fa4d50 add github run id env variable 2020-03-04 19:11:12 -08:00
ibrahim0814
4623a4dc3d add sample coverage files 2020-03-04 18:55:36 -08:00
ibrahim0814
c98408608b add functionality for tokenless 2020-03-04 18:30:14 -08:00
ibrahim0814
49c86d6a5f remove mention of yaml parameter 2020-03-04 18:02:42 -08:00
Armano
6ec347819d chore: set GITHUB_HEAD_REF to empty string if not present 2020-02-09 23:38:15 +01:00
Armano
44ca3d2c84 simplify code and add missing GITHUB_HEAD_REF 2020-02-07 22:24:55 +01:00
Ibrahim Ali
66879ff350 add forked repo secrets notice to readme 2019-12-18 18:50:35 -08:00
ibrahim0814
797e92895e del workflow file 2019-12-05 22:50:23 -08:00
ibrahim0814
a6337803aa del workflow file 2019-12-05 22:48:47 -08:00
Ibrahim Ali
2613f978c9 update marketplace version 2019-12-05 22:45:35 -08:00
Ibrahim Ali
4c6a7296af comment out for now 2019-12-05 22:45:10 -08:00
Ibrahim Ali
4fec3dfa96 Merge pull request #41 from codecov/add-fail-input
Add input to fail ci build
2019-12-05 22:27:09 -08:00
ibrahim0814
355d574b25 add release yml, add build script in pkg json 2019-12-05 22:19:41 -08:00
ibrahim0814
a497b16d77 fix action yaml description 2019-12-05 21:42:20 -08:00
ibrahim0814
ab46201142 run ncc build again 2019-12-05 21:40:52 -08:00
ibrahim0814
ecf5f576a0 prettify 2019-12-05 20:18:23 -08:00
ibrahim0814
8c950ae5c5 add additional catch blocks, correct link func 2019-12-05 20:15:25 -08:00
ibrahim0814
3d303911df add additional catch blocks, correct link func 2019-12-05 20:10:44 -08:00
ibrahim0814
eb1ea256cb test bad unlink 2019-12-05 19:54:02 -08:00
ibrahim0814
5f55456d46 remove catch block 2019-12-05 19:44:49 -08:00
ibrahim0814
ade1ebf812 add catch block 2019-12-05 18:38:48 -08:00
ibrahim0814
31d7d88849 test bad request 2019-12-05 18:31:47 -08:00
ibrahim0814
d608de8763 ncc build 2019-12-05 18:25:41 -08:00
ibrahim0814
08a0ecb0f3 set ci fail conditions 2019-12-05 18:25:24 -08:00
ibrahim0814
3dfea70b3f prettify rem extra catch block 2019-12-05 16:43:29 -08:00
ibrahim0814
f291e7ca9d revert back to set failed 2019-12-05 16:05:56 -08:00
ibrahim0814
78d806df69 replace set fail with warning 2019-12-05 15:48:29 -08:00
ibrahim0814
dd4242c61d add warning instead of fail condition 2019-12-05 14:01:30 -08:00
ibrahim0814
fc0e9fde50 add catch block 2019-12-05 13:46:50 -08:00
ibrahim0814
cf0e744e2c const to let 2019-12-05 01:20:56 -08:00
ibrahim0814
fd07c5fc0c redo dist cmd 2019-12-05 01:18:40 -08:00
ibrahim0814
3d11715b9e initial 2019-12-05 00:57:51 -08:00
Ibrahim Ali
cec654a0a7 Merge pull request #39 from bendichter/patch-1
fix python-version in example workflow.yml
2019-12-01 21:15:04 -08:00
Ben Dichter
41a31f1ccf fix python-version in example workflow.yml
I had to change this
2019-12-01 13:41:06 -05:00
Ibrahim Ali
d073b23c28 Merge pull request #38 from dguo/remove-ds-store
Remove the .DS_Store file
2019-11-30 16:59:15 -08:00
Danny Guo
11d69070bf Remove the .DS_Store file 2019-11-30 14:14:06 -05:00
Ibrahim Ali
dd2a59ac10 update readme 2019-11-20 13:00:29 -08:00
Ibrahim Ali
3ec2345d08 update readme 2019-11-19 11:26:54 -08:00
Ibrahim Ali
aea83764c6 Merge pull request #33 from codecov/node-action
Convert action from docker to javascript
2019-11-19 04:29:27 -08:00
ibrahim0814
e6cea4aaed update readme 2019-11-19 04:18:00 -08:00
ibrahim0814
70f2402e00 Merge branch 'node-action' of github.com:codecov/codecov-action into node-action 2019-11-19 04:06:13 -08:00
ibrahim0814
e6af53269a rem node modules, add gitignore, dist folder 2019-11-19 04:05:04 -08:00
Ibrahim Ali
7ab923356b Merge branch 'master' into node-action 2019-11-19 03:38:12 -08:00
ibrahim0814
8676a5a946 update readme, contributing, and add yml input 2019-11-19 03:36:06 -08:00
ibrahim0814
6afe2e0d90 fix logic 2019-11-19 00:28:57 -08:00
ibrahim0814
67a2282699 clean up, add other inputs 2019-11-19 00:24:27 -08:00
ibrahim0814
e1a57b8a47 try using user supplied token 2019-11-18 23:56:52 -08:00
ibrahim0814
1be0517b99 try saving bash script as file 2019-11-18 23:39:04 -08:00
ibrahim0814
889584d6f9 try using actions exec 2019-11-18 22:51:40 -08:00
ibrahim0814
c4ca0425e1 try synchronous process instead of async 2019-11-18 14:41:41 -08:00
Ibrahim Ali
8d062b28e1 Add if conditional in example for linux 2019-11-17 10:35:11 -08:00
ibrahim0814
a3ae14ab33 add env vars 2019-11-14 01:29:03 -08:00
ibrahim0814
1259587051 output 2019-11-14 01:12:21 -08:00
ibrahim0814
dd61d9f90b rem extra files 2019-11-14 01:05:31 -08:00
ibrahim0814
6e83ad2f33 rm first 8 lines of code 2019-11-14 01:04:58 -08:00
ibrahim0814
747c905e39 more output 2019-11-14 00:47:48 -08:00
ibrahim0814
29e36a5e71 try exec file 2019-11-14 00:43:05 -08:00
ibrahim0814
f0ee262b3a try exec file 2019-11-14 00:29:39 -08:00
ibrahim0814
bab0bf56a8 try 2 replacing pipe line 2019-11-14 00:16:42 -08:00
ibrahim0814
efc5cbe89b try removing pipefail line 2019-11-14 00:10:36 -08:00
ibrahim0814
3d61f3d4c8 correct docker to node12 2019-11-13 23:44:35 -08:00
ibrahim0814
db0171f588 try with exec sh 2019-11-13 23:41:15 -08:00
Ibrahim Ali
7ba41fc0d6 update readme to reflect linux support only 2019-11-11 10:04:33 -08:00
Ibrahim Ali
d5749ba79a change token requirement to true 2019-10-17 12:32:14 -07:00
Ibrahim Ali
b4c0b83601 update docs to v1.0.3 2019-10-17 12:24:24 -07:00
Ibrahim Ali
3cde50f4f1 Update main.yml 2019-10-17 12:06:53 -07:00
Ibrahim Ali
10e590a5de Update main.yml 2019-10-17 12:04:46 -07:00
Ibrahim Ali
af19dcb193 Merge pull request #26 from teohhanhui/fix/shell-command-issues
Fix shell command issues
2019-10-17 11:56:14 -07:00
Teoh Han Hui
77e74f257f Fix shell command issues 2019-10-11 20:13:30 +02:00
Ibrahim Ali
1c4a4261fa update installation docs to latest MP version 2019-08-25 14:50:59 -07:00
Joe Becher
cb218a0977 Merge pull request #10 from codecov/drazisil-patch-1
install git and mercurial
2019-08-24 13:14:58 -04:00
Joe Becher
e78f79e460 install git and mercurial 2019-08-24 13:13:04 -04:00
Joe Becher
899e5c913e Merge pull request #9 from codecov/drazisil-patch-1
Repo now self-tests
2019-08-24 12:52:45 -04:00
Joe Becher
886c7c8bc8 Don't need sudo 2019-08-24 12:39:08 -04:00
Joe Becher
75d10d924b Install curl 2019-08-24 12:37:54 -04:00
Joe Becher
e61b738355 no need for apk 2019-08-24 12:36:15 -04:00
Joe Becher
cbad155b75 use ubuntu 2019-08-24 12:34:36 -04:00
Joe Becher
9e1c456662 Update main.yml 2019-08-24 12:32:59 -04:00
Joe Becher
392e5b2711 does this work? 2019-08-24 12:29:34 -04:00
Joe Becher
bd5538d84a add slash 2019-08-24 12:27:33 -04:00
Joe Becher
9d47efe7b9 local tests 2019-08-24 12:24:31 -04:00
Thomas Hu
6aa7ac1896 Merge pull request #8 from codecov/support-alpine
Update bash entrypoint
2019-08-24 11:38:00 -04:00
Thomas Hu
c2a68071b3 Update bash entrypoint 2019-08-24 11:29:05 -04:00
Ibrahim Ali
8273bebacc correct installation line org to codecov 2019-08-15 21:28:17 -07:00
Ibrahim Ali
6728012add add marketplace flag 2019-08-08 14:59:24 -07:00
Ibrahim Ali
e3f7b8baf8 Update README.md 2019-08-08 10:10:05 -07:00
“ibrahim0814”
4af6f0743e delete debug output 2019-08-08 09:42:59 -07:00
“ibrahim0814”
5c880506b5 env vars 2019-08-08 09:22:55 -07:00
“ibrahim0814”
a3a7edcc61 revert back to original 2019-08-08 09:21:49 -07:00
“ibrahim0814”
f93f6bdcae test env var 2019-08-08 08:39:08 -07:00
“ibrahim0814”
35b9267ca9 check what shows up for env 2019-08-08 08:24:15 -07:00
“ibrahim0814”
39a99a4e84 test ci env var 2019-08-08 08:19:32 -07:00
“ibrahim0814”
e0cc6d49d9 readme 2019-08-07 23:46:42 -07:00
“ibrahim0814”
96d1c9a15d readme 2019-08-07 23:44:17 -07:00
“ibrahim0814”
ee0d391ad0 clean up comments 2019-08-07 23:40:42 -07:00
“ibrahim0814”
bd3230c275 correct logic for token requirement 2019-08-07 23:00:45 -07:00
Ibrahim Ali
c7a04fdde5 Merge pull request #3 from codecov/thomasrockhu-patch-1
Better error message
2019-08-07 22:43:29 -07:00
Thomas Hu
efe83d2996 Revert "Remove options without a provided token"
This reverts commit db5a766c55.
2019-08-08 01:42:54 -04:00
Thomas Hu
db5a766c55 Remove options without a provided token
Remove options without a token
2019-08-08 01:39:13 -04:00
Thomas Hu
1f99174e83 Better error message 2019-08-08 01:36:45 -04:00
“ibrahim0814”
93d126a749 readme 2019-08-07 22:15:28 -07:00
“ibrahim0814”
4546e138ba readme 2019-08-07 21:47:36 -07:00
“ibrahim0814”
125cedf806 readme 2019-08-07 21:45:22 -07:00
“ibrahim0814”
6f489c7a78 readme 2019-08-07 21:44:55 -07:00
“ibrahim0814”
fc175be7b5 readme 2019-08-07 21:43:58 -07:00
“ibrahim0814”
a166a95c4a readme 2019-08-07 21:40:59 -07:00
“ibrahim0814”
dd94ace224 add contributing section 2019-08-07 21:38:13 -07:00
“ibrahim0814”
a8f7ad31ff readme 2019-08-07 21:33:14 -07:00
“ibrahim0814”
ed370e2ded readme 2019-08-07 21:30:18 -07:00
“ibrahim0814”
dd098b2f6b shift to token required 2019-08-07 21:20:10 -07:00
“ibrahim0814”
d2c4464978 readme 2019-08-07 21:03:14 -07:00
“ibrahim0814”
97fe500537 readme 2019-08-07 21:02:44 -07:00
“ibrahim0814”
111c74ca11 readme 2019-08-07 20:56:18 -07:00
“ibrahim0814”
edbb6f8e5d rem header comments 2019-08-07 20:41:31 -07:00
“ibrahim0814”
7d121a89c0 rem header comments 2019-08-07 20:40:25 -07:00
“ibrahim0814”
159fdf6e54 modify input description 2019-08-07 20:36:21 -07:00
“ibrahim0814”
4fb042f123 readme 2019-08-07 20:26:06 -07:00
“ibrahim0814”
0766dd1553 readme 2019-08-07 20:24:56 -07:00
“ibrahim0814”
e0683efc0b add header comments 2019-08-07 20:21:41 -07:00
“ibrahim0814”
1b38d5e8b4 readme 2019-08-07 20:10:44 -07:00
“ibrahim0814”
2793f27b99 readme 2019-08-07 20:07:45 -07:00
“ibrahim0814”
afda60d339 readme 2019-08-07 19:41:47 -07:00
“ibrahim0814”
f21e0e6d14 readme 2019-08-07 19:33:51 -07:00
“ibrahim0814”
55d06088fa readme 2019-08-07 19:29:56 -07:00
“ibrahim0814”
7461079497 readme 2019-08-07 19:29:11 -07:00
“ibrahim0814”
eda3e0f75c readme 2019-08-07 19:28:35 -07:00
“ibrahim0814”
c7f04ba6f0 readme 2019-08-07 19:27:57 -07:00
“ibrahim0814”
67896f6476 readme 2019-08-07 19:25:37 -07:00
“ibrahim0814”
1e6057f6d0 readme 2019-08-07 19:24:28 -07:00
“ibrahim0814”
25df614d11 readme 2019-08-07 19:23:31 -07:00
“ibrahim0814”
3ee0aad0bf readme 2019-08-07 19:18:32 -07:00
“ibrahim0814”
93ee40a7a2 readme 2019-08-07 19:17:51 -07:00
“ibrahim0814”
d1914c14b8 move arguments section up 2019-08-07 18:44:06 -07:00
“ibrahim0814”
c2703ce7b6 readme 2019-08-07 18:40:03 -07:00
“ibrahim0814”
47224ae4e6 readme 2019-08-07 18:38:52 -07:00
“ibrahim0814”
413e76629d add argument uage 2019-08-07 18:35:56 -07:00
“ibrahim0814”
6625b1305d add name documentation info 2019-08-07 18:30:01 -07:00
“ibrahim0814”
77578a4d61 remove debug statements 2019-08-07 18:21:36 -07:00
“ibrahim0814”
2ce8445bdf puts docker args back in 2019-08-07 18:16:19 -07:00
“ibrahim0814”
22e73b5938 empty args list 2019-08-07 18:14:12 -07:00
“ibrahim0814”
f338553518 test without args 2019-08-07 18:11:55 -07:00
“ibrahim0814”
2ca1146dfd test token arg 2019-08-07 18:09:32 -07:00
“ibrahim0814”
e49c256d4a try using no args 2019-08-07 18:05:04 -07:00
“ibrahim0814”
baf6a7af4f fix yml error try 2 2019-08-07 17:04:13 -07:00
“ibrahim0814”
d2db6055ff Merge branch 'master' of github.com:codecov/codecov-github-action 2019-08-07 16:45:37 -07:00
“ibrahim0814”
9aebf8f59e add name input with debug cmds 2019-08-07 16:42:40 -07:00
Ibrahim Ali
e74d307e33 Update README.md 2019-08-07 13:19:04 -07:00
Ibrahim Ali
55c9c61f7e Update README.md 2019-08-07 13:17:40 -07:00
“ibrahim0814”
e749576e48 Merge branch 'master' of github.com:codecov/codecov-github-action 2019-08-07 13:10:14 -07:00
“ibrahim0814”
4a87a38546 remove debug statements 2019-08-07 13:09:57 -07:00
Ibrahim Ali
d7c531ac59 add flags documentation 2019-08-07 13:08:23 -07:00
“ibrahim0814”
b8cc1b68aa add debug statements 2019-08-07 12:42:49 -07:00
“ibrahim0814”
1cb9bf4ff5 add flags 2019-08-07 12:34:25 -07:00
“ibrahim0814”
48bb5e4ec3 name, description edits 2019-08-07 12:09:55 -07:00
“ibrahim0814”
a4dba2e03e add documentation for file path 2019-08-07 12:01:44 -07:00
“ibrahim0814”
c1b452a1b8 manage file uploads 2019-08-07 11:49:18 -07:00
“ibrahim0814”
6905df41d5 correct conditionals 2019-08-07 11:44:00 -07:00
“ibrahim0814”
052454207d add debug echo statements 2019-08-07 11:41:02 -07:00
“ibrahim0814”
0be151486e add file conditionals 2019-08-07 11:39:29 -07:00
“ibrahim0814”
4b3f2da728 use default args 2019-08-07 11:18:32 -07:00
“ibrahim0814”
03b2817fb6 input at top 2019-08-07 11:15:48 -07:00
“ibrahim0814”
6fdf86f06b test null condition 2019-08-07 11:11:16 -07:00
“ibrahim0814”
7c7db8b859 file path test 2019-08-07 11:05:50 -07:00
“ibrahim0814”
044d93a92c Merge branch 'master' of github.com:codecov/codecov-github-action 2019-08-07 10:52:00 -07:00
“ibrahim0814”
caffaa27c7 add file path param 2019-08-07 10:51:41 -07:00
Ibrahim Ali
902f207325 delete improvements section 2019-08-07 10:21:52 -07:00
“ibrahim0814”
72a27786b2 readme 2019-08-07 08:14:31 -07:00
“ibrahim0814”
30fe6d4bec spelling 2019-08-07 08:13:13 -07:00
“ibrahim0814”
68ee090395 change email 2019-08-07 08:12:13 -07:00
“ibrahim0814”
ce00a5b662 readme 2019-08-07 08:10:22 -07:00
“ibrahim0814”
1f8bbdf5bb add pr section in contrib guide 2019-08-07 08:09:29 -07:00
“ibrahim0814”
47b142b183 add example workflow file 2019-08-07 07:59:10 -07:00
“ibrahim0814”
95bbe7b4bf add contributing guidelines 2019-08-07 07:38:37 -07:00
Ibrahim Ali
8e51ca4502 add license link 2019-08-07 06:40:15 -07:00
Ibrahim Ali
0fa1095987 Create LICENSE 2019-08-07 06:38:39 -07:00
Ibrahim Ali
02da153e67 Update README.md 2019-08-07 06:28:17 -07:00
27 changed files with 68358 additions and 43 deletions

19
.eslintrc.json Normal file
View File

@@ -0,0 +1,19 @@
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"extends": [
"google"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12
},
"plugins": [
"@typescript-eslint"
],
"rules": {
}
}

27
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Workflow for Codecov Action
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Run tests and collect coverage
run: yarn run test
- name: Upload coverage to Codecov (demo)
uses: ./
with:
files: ./coverage/calculator/coverage-final.json,./coverage/coverage-test/coverage-final.json
file: ./coverage/coverage-final.json
flags: demo
name: codecov-demo
- name: Upload coverage to Codecov (script)
uses: ./
with:
files: ./coverage/script/coverage-final.json
flags: script
name: codecov-script

95
.gitignore vendored Normal file
View File

@@ -0,0 +1,95 @@
### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# next.js build output
.next
# nuxt.js build output
.nuxt
# react / gatsby
public/
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# macOS Finder metadata
.DS_Store

49
CHANGELOG.md Normal file
View File

@@ -0,0 +1,49 @@
## 1.4.0
### Features
- #282 Add checksum verification of bash script
## 1.3.2
### Fixes
- #264 Overwrites pr number for pull_request_target events
## 1.3.1
### Fixes
- #253 Add `network_filter` to action manifest
## 1.3.0
### Features
- #252 Add "network_filter" input
## 1.2.2
### Fixes
- #241 pass root_dir using proper bash arg
- #244 Overwrite the commit on pull_request* events
## 1.2.1
### Fixes
- #196 Add parameters to the action.yml
## 1.2.0
### Features
- #193 Add all the bash params
### Fixes
- #193 Fixes issue with working-directory
## 1.1.1
### Fixes
- #184 Add automations ensure proper builds and deployments
- #184 Fixes verbose flag
## 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

13
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,13 @@
# Contribution Guide
:tada: Thanks for taking the time to contribute! :tada:
The following is a set of guidelines for contributing to this repository, which is hosted in the [Codecov Organization](https://github.com/codecov) on GitHub.
## What does this repo do?
This repo is a GitHub Action, meaning it integrates with the GitHub Actions CI/CD pipeline. It's meant to take formatted reports with code coverage stats and upload them to codecov.io. Our Node action uses the Actions toolkit to make system calls that allow us to run Codecov's bash uploader inside of Node. Essentially what we're doing in this action is downloading Codecov's bash uploader script from codecov.io/bash, saving it as a file in the current directory, executing the file via `exec` calls, then removing the script from the current directory.
## PRs, Issues, and Support
Feel free to clone, modify code and request a PR to this repository. All PRs and issues will be reviewed by the Codecov team. If your PR/issue has been sitting for a while or if you have any questions, ping us at support@codecov.io

View File

@@ -1,10 +0,0 @@
FROM alpine:3.10
WORKDIR /app
COPY . /app
RUN apk add --no-cache curl bash git
RUN chmod +x /app/entrypoint.sh
ENTRYPOINT [ "/app/entrypoint.sh" ]

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
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
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

7
Makefile Normal file
View File

@@ -0,0 +1,7 @@
deploy:
$(eval VERSION := $(shell cat package.json | grep '"version": ' | cut -d\" -f4))
git tag -d v1
git push origin :v1
git tag v1
git tag v$(VERSION) -m ""
git push origin --tags

120
README.md
View File

@@ -1,28 +1,124 @@
<!-- <p align="center"><img src="./codecov-logo.png" /></p> -->
# Codecov GitHub Action
### Easily upload coverage reports to Codecov from Github Actions
[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-v1-undefined.svg?logo=github&logoColor=white&style=flat)](https://github.com/marketplace/actions/codecov)
[![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 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.
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**
Inside your `.github/workflows/workflow.yml` file:
```yaml
steps:
- uses: actions/checkout@master
- uses: actions/codecov-action@v0.2
- uses: codecov/codecov-action@v1
with:
token: ${{secrets.CODECOV_TOKEN}}
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
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 for your specific repo on codecov.io. A token is not required for public 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
| Argument | Description |
| :---: | :---: |
| `token` | Used to authorize coverage report uploads |
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:
| Input | Description | Usage |
| :---: | :---: | :---: |
| `token` | Used to authorize coverage report uploads | *Required for private repos* |
| `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
| | |
| `aws_curl_args` | Extra curl arguments to communicate with AWS. | Optional
| `codecov_curl_args` | Extra curl arguments to communicate with Codecov. e.g., -U "--proxy http://http-proxy" | Optional
| `commit_parent` | The commit SHA of the parent for which you are uploading coverage. If not present, the parent will be determined using the API of your repository provider. When using the repository provider's API, the parent is determined via finding the closest ancestor to the commit. | Optional
| `env_vars` | Environment variables to tag the upload with. Multiple env variables can be separated with commas (e.g. `OS,PYTHON`) | Optional
| `fail_ci_if_error` | Specify if CI pipeline should fail when Codecov runs into errors during upload. *Defaults to **false*** | Optional
| `functionalities` | Toggle functionalities | Optional
| | `coveragepy` Disable python coverage |
| | `fix` Disable report fixing |
| | `gcov` Disable gcov |
| | `gcovout` Disable gcov output |
| | `html` Enable coverage for HTML files |
| | `network` Disable uploading the file network |
| | `recursesubs` Enable recurse submodules in git projects when searching for source files | |
| | `search` Disable searching for reports |
| | `xcode` Disable xcode processing |
| `gcov_path_include` | Paths to include during gcov gathering (as a glob) | Optional
| `gcov_args` | extra arguments to pass to gcov | Optional
| `gcov_executable` | gcov executable to run. Defaults to 'gcov' | Optional
| `gcov_path_exclude` | Paths to ignore during gcov gathering (as a glob) | Optional
| `gcov_prefix` | Prefix filepaths to help resolve path fixing | Optional
| `gcov_root_dir` | Project root directory, also used when preparing gcov | Optional
| `move_coverage_to_trash` | Move discovered coverage reports to the trash | Optional
| `name` | Custom defined name for the upload | Optional
| `override_branch` | Specify the branch name | Optional
| `override_build` | Specify the build number | Optional
| `override_commit` | Specify the commit SHA | Optional
| `override_pr` | Specify the pull request number | Optional
| `override_tag` | Specify the git tag | Optional
| `path_to_write_report` | Write upload file to path before uploading | Optional
| `root_dir` | Used when not in git/hg project to identify project root directory | Optional
| `verbose` | Specify whether the Codecov output should be verbose | Optional
| `working-directory` | Directory in which to execute `codecov.sh` | Optional
| `xcode_derived_data` | Custom Derived Data Path for Coverage.profdata and gcov processing | Optional
| `xcode_package` | Specify packages to build coverage. Uploader will only build these packages. This can significantly reduces time to build coverage reports. -J 'MyAppName' Will match "MyAppName" and "MyAppNameTests" -J '^ExampleApp$' Will match only "ExampleApp" not "ExampleAppTests" | Optional
### Example `workflow.yml` with Codecov Action
```yaml
name: Example workflow for Codecov
on: [push]
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.7'
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.7
- name: Generate coverage report
run: |
pip install pytest
pip install pytest-cov
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
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
The code in this project is released under the [MIT License](LICENSE).
## License
The code in this project is released under the MIT 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,15 +1,103 @@
name: 'Codecov'
description: 'GitHub action that uploads coverage reports for your repository to codecov.io'
author: 'Ib @ Codecov'
inputs:
description: 'GitHub Action that uploads coverage reports for your repository to codecov.io'
author: 'Ibrahim Ali <@ibrahim0814> & Thomas Hu <@thomasrockhu> | Codecov'
inputs:
token:
description: 'Set the repository token'
required: false
description: 'Repository upload token - get it from codecov.io. Required only for private repositories'
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
aws_curl_args:
description: 'Extra curl arguments to communicate with AWS.'
required: false
codecov_curl_args:
description: 'Extra curl arguments to communicate with Codecov. e.g., -U "--proxy http://http-proxy"'
required: false
commit_parent:
description: 'The commit SHA of the parent for which you are uploading coverage. If not present, the parent will be determined using the API of your repository provider. When using the repository providers API, the parent is determined via finding the closest ancestor to the commit.'
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
file:
description: 'Path to coverage file to upload'
required: false
functionalities:
description: 'Comma-separated list, see the README for options and their usage'
required: false
gcov_args:
description: 'extra arguments to pass to gcov'
required: false
gcov_executable:
description: 'gcov executable to run. Defaults to gcov'
required: false
gcov_path_exclude:
description: 'Paths to ignore during gcov gathering (as a glob)'
required: false
gcov_path_include:
description: 'Paths to include during gcov gathering (as a glob)'
required: false
gcov_prefix:
description: 'Prefix filepaths to help resolve path fixing'
required: false
gcov_root_dir:
description: 'Project root directory, also used when preparing gcov'
required: false
move_coverage_to_trash:
description: 'Move discovered coverage reports to the trash'
required: false
name:
description: 'User defined upload name. Visible in Codecov UI'
required: false
network_filter:
description: 'Used to restrict the set of git/hg files that can be matched with filenames in the coverage report. This is useful for monorepos or other setups where a full filepath may not be specified in the coverage report, and that shortened filepath may appear multiple times in a directory structure (e.g. __init__.py)'
required: false
override_branch:
description: 'Specify the branch name'
required: false
override_build:
description: 'Specify the build number'
required: false
override_commit:
description: 'Specify the commit SHA'
required: false
override_pr:
description: 'Specify the pull request number'
required: false
override_tag:
description: 'Specify the git tag'
required: false
path_to_write_report:
description: 'Write upload file to path before uploading'
required: false
root_dir:
description: 'Used when not in git/hg project to identify project root directory'
required: false
verbose:
description: 'Specify whether the Codecov output should be verbose'
required: false
working-directory:
description: 'Directory in which to execute codecov.sh'
required: false
xcode_derived_data:
description: 'Custom Derived Data Path for Coverage.profdata and gcov processing'
required: false
xcode_package:
description: 'Specify packages to build coverage. Uploader will only build these packages'
required: false
branding:
color: 'red'
color: 'red'
icon: 'umbrella'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.token }}
using: 'node12'
main: 'dist/index.js'

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;
}
}

View File

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

View File

@@ -0,0 +1,21 @@
export default class Coverage {
//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
}
}

60656
dist/index.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,11 +0,0 @@
#!/bin/bash
set -eu
if [ $# -eq 0 ]
then
bash <(curl -s https://codecov.io/bash)
else
bash <(curl -s https://codecov.io/bash) -t $1
fi

8
hooks/pre-commit Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
npm i --package-lock-only
npm run lint --fix
npm run build
git add src/
git add dist/index.js
git add package-lock.json

12
install.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
if ! [ -e .git ]; then
echo "Please run this from repo root directory"
exit 1
fi
cd .git/hooks
for i in pre-commit; do
rm -fv $i
ln -sv ../../hooks/$i
done

4
jest.config.js Normal file
View File

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

6634
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

46
package.json Normal file
View File

@@ -0,0 +1,46 @@
{
"name": "codecov-action",
"version": "1.4.0",
"description": "Upload coverage reports to Codecov from GitHub Actions",
"main": "index.js",
"scripts": {
"lint": "eslint src/*.*",
"test": "yarn run test-script && yarn run test-calculator && yarn run test-coverage",
"test-calculator": "jest --testPathPattern=demo/calculator/ --coverage --coverageDirectory=coverage/calculator",
"test-coverage": "jest --testPathPattern=demo/coverage-test/ --coverage --coverageDirectory=coverage/coverage-test",
"test-script": "jest --testPathPattern=src/ --coverage --coverageDirectory=coverage/script",
"build": "ncc build src/index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codecov/codecov-action.git"
},
"keywords": [],
"author": "Ibrahim Ali",
"license": "MIT",
"bugs": {
"url": "https://github.com/codecov/codecov-action/issues"
},
"homepage": "https://github.com/codecov/codecov-action#readme",
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/exec": "^1.0.4",
"@actions/github": "^4.0.0",
"@types/jest": "^26.0.20",
"@zeit/ncc": "^0.22.3",
"fs": "0.0.1-security",
"jest": "^26.6.3",
"jest-junit": "^12.0.0",
"request": "^2.88.2",
"requestretry": "^5.0.0",
"ts-jest": "^26.5.3",
"typescript": "^4.2.3",
"yarn": "^1.22.10"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "^7.21.0",
"eslint-config-google": "^0.14.0"
}
}

148
src/buildExec.test.ts Normal file
View File

@@ -0,0 +1,148 @@
import buildExec from './buildExec';
const github = require('@actions/github');
const context = github.context;
test('no arguments', () => {
const {execArgs, filepath, failCi} = buildExec();
const args = [
'codecov.sh',
'-n',
'',
'-F',
'',
'-Q',
'github-action',
];
if (context.eventName == 'pull_request') {
args.push('-C', `${context.payload.pull_request.head.sha}`);
}
expect(execArgs).toEqual(args);
expect(filepath).toEqual('codecov.sh');
expect(failCi).toBeFalsy();
});
test('all arguments', () => {
const envs = {
'move_coverage_to_trash': 'true',
'commit_parent': '83231650328f11695dfb754ca0f540516f188d27',
'aws_curl_args': '--timeout 1',
'codecov_curl_args': '--timeout 2',
'env_vars': 'OS,PYTHON',
'fail_ci_if_error': 'true',
'file': 'coverage.xml',
'files': 'dir1/coverage.xml,dir2/coverage.xml',
'flags': 'test',
'functionalities':
'gcov,coveragepy,fix,search,code,network,gcovout,html,recursesubs',
'gcov_args': '--timeout 3',
'gcov_root_dr': 'gcov_dir/',
'gcov_path_exclude': '**/exclude-dir/*.*',
'gcov_executable': 'gcov',
'gcov_path_include': '**/include-dir/*.*',
'gcov_prefix': 'demo',
'name': 'codecov',
'network_filter': 'dir1',
'override_branch': 'thomasrockhu/test',
'override_build': '1',
'override_commit': '9caabca5474b49de74ef5667deabaf74cdacc244',
'override_pr': '2',
'override_tag': 'v1.2',
'root_dir': 'root/',
'directory': 'coverage/',
'token': 'd3859757-ab80-4664-924d-aef22fa7557b',
'verbose': 't',
'working-directory': 'src',
'path_to_write_report': 'codecov/',
'xcode_derived_data': '~/Library/Developer/Xcode/DerivedData',
'xcode_package': 'MyApp',
};
for (const env of Object.keys(envs)) {
process.env['INPUT_' + env.toUpperCase()] = envs[env];
}
const {execArgs, filepath, failCi} = buildExec();
expect(execArgs).toEqual([
'src/codecov.sh',
'-n',
'codecov',
'-F',
'test',
'-Q',
'github-action',
'-c',
'-N',
'83231650328f11695dfb754ca0f540516f188d27',
'-A',
'--timeout 1',
'-U',
'--timeout 2',
'-e',
'OS,PYTHON',
'-Z',
'-f',
'coverage.xml',
'-f',
'dir1/coverage.xml',
'-f',
'dir2/coverage.xml',
'-X',
'gcov',
'-X',
'coveragepy',
'-X',
'fix',
'-X',
'search',
'-X',
'code',
'-X',
'network',
'-X',
'gcovout',
'-X',
'html',
'-X',
'recursesubs',
'-a',
'--timeout 3',
'-g',
'**/exclude-dir/*.*',
'-x',
'gcov',
'-G',
'**/include-dir/*.*',
'-k',
'demo',
'-i',
'dir1',
'-B',
'thomasrockhu/test',
'-b',
'1',
'-C',
'9caabca5474b49de74ef5667deabaf74cdacc244',
'-P',
'2',
'-T',
'v1.2',
'-R',
'root/',
'-s',
'coverage/',
'-v',
'-q',
'codecov/',
'-D',
'~/Library/Developer/Xcode/DerivedData',
'-J',
'MyApp',
]);
expect(filepath).toEqual('src/codecov.sh');
expect(failCi).toBeTruthy();
for (const env of Object.keys(envs)) {
delete process.env['INPUT_' + env.toUpperCase()];
}
});

179
src/buildExec.ts Normal file
View File

@@ -0,0 +1,179 @@
const core = require('@actions/core');
const github = require('@actions/github');
const context = github.context;
const isTrue = (variable) => {
const lowercase = variable.toLowerCase();
return (
lowercase === '1' ||
lowercase === 't' ||
lowercase === 'true' ||
lowercase === 'y' ||
lowercase === 'yes'
);
};
const buildExec = () => {
const clean = core.getInput('move_coverage_to_trash');
const commitParent = core.getInput('commit_parent');
const curlAwsArgs = core.getInput('aws_curl_args');
const curlCodecovArgs = core.getInput('codecov_curl_args');
const envVars = core.getInput('env_vars');
const failCi = isTrue(core.getInput('fail_ci_if_error'));
const file = core.getInput('file');
const files = core.getInput('files');
const flags = core.getInput('flags');
const functionalities = core.getInput('functionalities');
const gcovArgs = core.getInput('gcov_args');
const gcovDir = core.getInput('gcov_root_dir');
const gcovExclude = core.getInput('gcov_path_exclude');
const gcovExec = core.getInput('gcov_executable');
const gcovInclude = core.getInput('gcov_path_include');
const gcovPrefix = core.getInput('gcov_prefix');
const name = core.getInput('name');
const networkFilter = core.getInput('network_filter');
const overrideBranch = core.getInput('override_branch');
const overrideBuild = core.getInput('override_build');
const overrideCommit = core.getInput('override_commit');
const overridePr = core.getInput('override_pr');
const overrideTag = core.getInput('override_tag');
const rootDir = core.getInput('root_dir');
const searchDir = core.getInput('directory');
const token = core.getInput('token');
const verbose = isTrue(core.getInput('verbose'));
const workingDir = core.getInput('working-directory');
const writePath = core.getInput('path_to_write_report');
const xcodeDerivedData = core.getInput('xcode_derived_data');
const xcodePackage = core.getInput('xcode_package');
const filepath = workingDir ?
workingDir + '/codecov.sh' : 'codecov.sh';
const execArgs = [filepath];
execArgs.push( '-n', `${name}`, '-F', `${flags}`, '-Q', 'github-action' );
const options:any = {};
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 || '',
});
const envVarsArg = [];
for (const envVar of envVars.split(',')) {
const envVarClean = envVar.trim();
if (envVarClean) {
options.env[envVarClean] = process.env[envVarClean];
envVarsArg.push(envVarClean);
}
}
if (token) {
options.env.CODECOV_TOKEN = token;
}
if (clean) {
execArgs.push('-c');
}
if (commitParent) {
execArgs.push('-N', `${commitParent}`);
}
if (curlAwsArgs) {
execArgs.push('-A', `${curlAwsArgs}`);
}
if (curlCodecovArgs) {
execArgs.push('-U', `${curlCodecovArgs}`);
}
if (envVarsArg.length) {
execArgs.push('-e', envVarsArg.join(','));
}
if (failCi) {
execArgs.push('-Z');
}
if (file) {
execArgs.push('-f', `${file}`);
}
if (files) {
files.split(',').forEach((f) => {
execArgs.push('-f', `${f}`);
});
}
if (functionalities) {
functionalities.split(',').forEach((f) => {
execArgs.push('-X', `${f}`);
});
}
if (gcovArgs) {
execArgs.push('-a', `${gcovArgs}`);
}
if (gcovDir) {
execArgs.push('-p', `${gcovDir}`);
}
if (gcovExclude) {
execArgs.push('-g', `${gcovExclude}`);
}
if (gcovExec) {
execArgs.push('-x', `${gcovExec}`);
}
if (gcovInclude) {
execArgs.push('-G', `${gcovInclude}`);
}
if (gcovPrefix) {
execArgs.push('-k', `${gcovPrefix}`);
}
if (networkFilter) {
execArgs.push('-i', `${networkFilter}`);
}
if (overrideBranch) {
execArgs.push('-B', `${overrideBranch}`);
}
if (overrideBuild) {
execArgs.push('-b', `${overrideBuild}`);
}
if (overrideCommit) {
execArgs.push('-C', `${overrideCommit}`);
} else if (
`${context.eventName}` == 'pull_request' ||
`${context.eventName}` == 'pull_request_target'
) {
execArgs.push('-C', `${context.payload.pull_request.head.sha}`);
}
if (overridePr) {
execArgs.push('-P', `${overridePr}`);
} else if (
`${context.eventName}` == 'pull_request_target'
) {
execArgs.push('-P', `${context.payload.number}`);
}
if (overrideTag) {
execArgs.push('-T', `${overrideTag}`);
}
if (rootDir) {
execArgs.push('-R', `${rootDir}`);
}
if (searchDir) {
execArgs.push('-s', `${searchDir}`);
}
if (verbose) {
execArgs.push('-v');
}
if (workingDir) {
options.cwd = workingDir;
}
if (writePath) {
execArgs.push('-q', `${writePath}`);
}
if (xcodeDerivedData) {
execArgs.push('-D', `${xcodeDerivedData}`);
}
if (xcodePackage) {
execArgs.push('-J', `${xcodePackage}`);
}
return {execArgs, options, filepath, failCi};
};
export default buildExec;

79
src/index.ts Normal file
View File

@@ -0,0 +1,79 @@
const core = require('@actions/core');
const exec = require('@actions/exec');
const fs = require('fs');
const request = require('requestretry');
import buildExec from './buildExec';
import validateUploader from './validate';
let failCi;
try {
request({
json: false,
maxAttempts: 10,
timeout: 3000,
url: 'https://codecov.io/bash',
}, async (error, response, body) => {
const {execArgs, options, filepath, failCi} = buildExec();
try {
const isValid = await validateUploader(body);
if (!isValid) {
const failure = 'Codecov failure: ' +
'Bash script checksums do not match published values. ' +
'Please contact security@codecov.io immediately.';
core.setFailed(failure);
throw new Error(failure);
}
if (error && failCi) {
throw error;
} else if (error) {
core.warning(`Codecov warning: ${error.message}`);
}
fs.writeFile(filepath, body, (err) => {
if (err && failCi) {
throw err;
} else if (err) {
core.warning(`Codecov warning: ${err.message}`);
}
exec.exec('bash', execArgs, options)
.catch((err) => {
if (failCi) {
core.setFailed(
`Codecov failed with the following error: ${err.message}`,
);
} else {
core.warning(`Codecov warning: ${err.message}`);
}
})
.then(() => {
unlinkFile();
});
const unlinkFile = () => {
fs.unlink(filepath, (err) => {
if (err && failCi) {
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 (failCi) {
core.setFailed(`Codecov failed with the following error: ${error.message}`);
} else {
core.warning(`Codecov warning: ${error.message}`);
}
}

39
src/validate.test.ts Normal file
View File

@@ -0,0 +1,39 @@
import validateUploader, {retrieveChecksum} from './validate';
const request = require('requestretry');
const bashScript = (async () => {
try {
const script = await request({
json: false,
maxAttempts: 10,
timeout: 3000,
url: 'https://codecov.io/bash',
});
return script.body;
} catch (err) {
throw err;
}
});
test('valid checksums', async () => {
const valid = await validateUploader(await bashScript());
expect(valid).toBeTruthy();
});
test('invalid checksums', async () => {
const script = await bashScript();
const valid = await validateUploader(script.substring(0, script.length - 1));
expect(valid).toBeFalsy();
});
test('invalid script version', async () => {
const script = await bashScript();
const valid = await validateUploader(script.substring(0, 20));
expect(valid).toBeFalsy();
});
test('invalid public checksum file', async () => {
const checksum = await retrieveChecksum('foo', 'bar');
expect(checksum).toBeFalsy();
});

58
src/validate.ts Normal file
View File

@@ -0,0 +1,58 @@
const crypto = require('crypto');
const core = require('@actions/core');
const request = require('requestretry');
const validateUploader = async (body) => {
const version = getVersion(body);
if (version === null) {
core.warning('Codecov could not identify the bash uploader version.');
return false;
}
for (const i of [1, 256, 512]) {
const publicChecksum = await retrieveChecksum(version, i);
const uploaderChecksum = calculateChecksum(body, i);
if (uploaderChecksum !== publicChecksum.trim()) {
core.warning(
`Codecov ${version} checksums for SHA${i} failed to match.\n` +
`Public checksum: ${publicChecksum}` +
`Uploader checksum: ${uploaderChecksum}`,
);
return false;
}
}
return true;
};
export const retrieveChecksum = async (version, encryption) => {
const url = `https://raw.githubusercontent.com/codecov/codecov-bash/${version}/SHA${encryption}SUM`;
const response = await request({
maxAttempts: 10,
timeout: 3000,
url: url,
});
if (response.statusCode != 200) {
core.warning(
`Codecov could not retrieve checksum SHA${encryption} at ${url}`,
);
return '';
}
return response.body;
};
const calculateChecksum = (body, i) => {
const shasum = crypto.createHash(`sha${i}`);
shasum.update(body);
return `${shasum.digest('hex')} codecov`;
};
const getVersion = (body) => {
const regex = /VERSION="(.*)+"/g;
const match = regex.exec(body);
return match ? match[1] : null;
};
export default validateUploader;

5
tsconfig.json Normal file
View File

@@ -0,0 +1,5 @@
{
"include": [
"src"
]
}