This repository was archived by the owner on Jan 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-32
lines changed Expand file tree Collapse file tree 3 files changed +6
-32
lines changed Original file line number Diff line number Diff line change 1
1
# Codecov NodeJS Uploader
2
2
3
+ [ ![ codecov.io] ( https://codecov.io/github/codecov/codecov-node/coverage.svg?branch=master )] ( https://codecov.io/github/codecov/codecov-node?branch=master )
3
4
[ ![ NPM version] [ npm-image ]] [ npm-url ]
5
+ [ ![ Build Status] [ github-actions-image ]] [ github-actions-url ]
4
6
[ ![ Build Status] [ travis-image ]] [ travis-url ]
5
- [ ![ Build Status] [ appveyor-image ]] [ appveyor-url ]
6
- [ ![ codecov.io] ( https://codecov.io/github/codecov/codecov-node/coverage.svg?branch=master )] ( https://codecov.io/github/codecov/codecov-node?branch=master )
7
7
[ ![ Dependency Status] [ depstat-image ]] [ depstat-url ]
8
8
[ ![ Dev Dependency Status] [ devdepstat-image ]] [ devdepstat-url ]
9
9
@@ -68,10 +68,11 @@ istanbul cover test.js
68
68
./node_modules/.bin/codecov
69
69
```
70
70
71
+ [ appveyor-url ] : https://ci.appveyor.com/project/eddiemoore/codecov-node-s38o6/branch/master
72
+ [ github-actions-image ] : https://github.com/codecov/codecov-node/workflows/Node%20CI/badge.svg
73
+ [ github-actions-url ] : https://github.com/codecov/codecov-node/actions?query=workflow%3A%22Node+CI%22
71
74
[ travis-image ] : https://travis-ci.org/codecov/codecov-node.svg?branch=master
72
75
[ travis-url ] : https://travis-ci.org/codecov/codecov-node
73
- [ appveyor-image ] : https://ci.appveyor.com/api/projects/status/ea1suiv0tprnq61l?svg=true
74
- [ appveyor-url ] : https://ci.appveyor.com/project/eddiemoore/codecov-node/branch/master
75
76
[ npm-url ] : https://npmjs.org/package/codecov
76
77
[ npm-image ] : https://img.shields.io/npm/v/codecov.svg
77
78
[ depstat-url ] : https://david-dm.org/codecov/codecov-node
Original file line number Diff line number Diff line change 12
12
- git config --global core.autocrlf true
13
13
14
14
install :
15
- - ps : Install-Product node $env:nodejs_version
15
+ - ps : Install-Product node $env:nodejs_version x64
16
16
- npm install
17
17
18
18
test_script :
Original file line number Diff line number Diff line change @@ -67,31 +67,4 @@ describe('Codecov', function() {
67
67
}
68
68
)
69
69
} )
70
-
71
- it ( "upload v2 doesn't throw runtime error" , function ( done ) {
72
- expect (
73
- codecov . sendToCodecovV2 . bind (
74
- null ,
75
- 'https://codecov.io' ,
76
- {
77
- token : 'f881216b-b5c0-4eb1-8f21-b51887d1d506' ,
78
- commit : 'c739768fcac68144a3a6d82305b9c4106934d31a' ,
79
- branch : 'master' ,
80
- } ,
81
- 'testing node-' + codecov . version ,
82
- function ( body ) {
83
- expect ( body ) . toContain (
84
- 'https://codecov.io/github/codecov/ci-repo/commit/c739768fcac68144a3a6d82305b9c4106934d31a'
85
- )
86
- done ( )
87
- } ,
88
- function ( errCode , errMsg ) {
89
- if ( offlineErrors . indexOf ( errCode ) !== - 1 ) {
90
- done ( )
91
- }
92
- throw new Error ( errMsg )
93
- }
94
- )
95
- ) . not . toThrow ( )
96
- } )
97
70
} )
You can’t perform that action at this time.
0 commit comments