77
77
- run :
78
78
name : Clone nodejs repo
79
79
command : |
80
- git clone https://github.com/nodejs/node.git
80
+ git clone https://github.com/nodejs/node.git
81
81
- run :
82
82
name : Checkout v14.16.1 tag and apply patches
83
83
command : |
@@ -113,7 +113,7 @@ jobs:
113
113
- run :
114
114
name : Remove build dir and run tests
115
115
command : |
116
- rm -rf node
116
+ rm -rf node
117
117
npm ci
118
118
npm test
119
119
mkdir -p coverage-alpine
@@ -137,7 +137,7 @@ jobs:
137
137
docker :
138
138
# specify the version you desire here
139
139
- image : alpine:3.13.5
140
- steps :
140
+ steps :
141
141
- run :
142
142
name : Install git
143
143
command : |
@@ -150,15 +150,15 @@ jobs:
150
150
- run :
151
151
name : Run Alpine binary -f (dry run)
152
152
command : |
153
- out/codecov-alpine -f /root/project/coverage-alpine/cobertura-coverage.xml -F alpine -d -Z >> output_alpine.txt
153
+ out/codecov-alpine -f /root/project/coverage-alpine/cobertura-coverage.xml -F alpine -d -Z -e CIRCLE_BRANCH >> output_alpine.txt
154
154
- run :
155
155
name : Run Alpine binary auto-detect (dry run)
156
156
command : |
157
- out/codecov-alpine -F alpine -d -Z >> output_alpine.txt
157
+ out/codecov-alpine -F alpine -d -Z -e CIRCLE_BRANCH >> output_alpine.txt
158
158
- run :
159
159
name : Run Alpine binary (upload)
160
160
command : |
161
- out/codecov-alpine -F alpine -Z
161
+ out/codecov-alpine -F alpine -Z -e CIRCLE_BRANCH
162
162
163
163
- persist_to_workspace :
164
164
root : .
@@ -197,15 +197,15 @@ jobs:
197
197
- run :
198
198
name : Run Linux binary -f (dry run)
199
199
command : |
200
- out/codecov-linux -f /home/circleci/project/coverage/cobertura-coverage.xml -F linux -d -Z >> output_linux.txt
200
+ out/codecov-linux -f /home/circleci/project/coverage/cobertura-coverage.xml -F linux -d -Z -e CIRCLE_BRANCH >> output_linux.txt
201
201
- run :
202
202
name : Run Linux binary auto-detect (dry run)
203
203
command : |
204
- out/codecov-linux -F linux -d -Z >> output_linux.txt
204
+ out/codecov-linux -F linux -d -Z -e CIRCLE_BRANCH >> output_linux.txt
205
205
- run :
206
206
name : Run Linux binary (upload)
207
207
command : |
208
- out/codecov-linux -F linux -Z
208
+ out/codecov-linux -F linux -Z -e CIRCLE_BRANCH
209
209
210
210
- persist_to_workspace :
211
211
root : .
@@ -222,46 +222,46 @@ jobs:
222
222
- run :
223
223
name : Run Linux binary (dry run)
224
224
command : |
225
- out/codecov-linux -F linux-without-git -d -Z > output_linux_without_git.txt
225
+ out/codecov-linux -F linux-without-git -d -Z -e CIRCLE_BRANCH > output_linux_without_git.txt
226
226
- run :
227
227
name : Run Linux binary (upload)
228
228
command : |
229
- out/codecov-linux -F linux-without-git -Z
229
+ out/codecov-linux -F linux-without-git -Z -e CIRCLE_BRANCH
230
230
231
231
- persist_to_workspace :
232
232
root : .
233
233
paths :
234
234
- output_linux.txt
235
235
236
236
test-macos :
237
- macos :
238
- xcode : " 10.0.0"
239
- steps :
237
+ macos :
238
+ xcode : " 10.0.0"
239
+ steps :
240
240
- checkout
241
241
- attach_workspace :
242
242
at : .
243
243
- run :
244
244
name : Run MacOS binary -f (dry-run)
245
245
command : |
246
- out/codecov-macos -f /Users/distiller/project/coverage/cobertura-coverage.xml -F macos -d -Z >> output_osx.txt
246
+ out/codecov-macos -f /Users/distiller/project/coverage/cobertura-coverage.xml -F macos -d -Z -e CIRCLE_BRANCH >> output_osx.txt
247
247
- run :
248
248
name : Run MacOS binary auto-detect (dry-run)
249
249
command : |
250
- out/codecov-macos -F macos -d -Z >> output_osx.txt
250
+ out/codecov-macos -F macos -d -Z -e CIRCLE_BRANCH >> output_osx.txt
251
251
- run :
252
252
name : Run MacOS binary (upload)
253
253
command : |
254
- out/codecov-macos -F macos -Z
254
+ out/codecov-macos -F macos -Z -e CIRCLE_BRANCH
255
255
256
256
- persist_to_workspace :
257
257
root : .
258
258
paths :
259
259
- output_osx.txt
260
260
261
261
test-macos-without-git :
262
- macos :
263
- xcode : " 10.0.0"
264
- steps :
262
+ macos :
263
+ xcode : " 10.0.0"
264
+ steps :
265
265
- attach_workspace :
266
266
at : .
267
267
- run :
@@ -289,17 +289,17 @@ jobs:
289
289
command : |
290
290
dir C:\Users\circleci\project\coverage\
291
291
attrib C:\Users\circleci\project\coverage\cobertura-coverage.xml
292
- .\out\codecov.exe -f C:\Users\circleci\project\coverage\cobertura-coverage.xml -F windows -d -Z >> output_win.txt
292
+ .\out\codecov.exe -f C:\Users\circleci\project\coverage\cobertura-coverage.xml -F windows -d -Z -e CIRCLE_BRANCH >> output_win.txt
293
293
shell : cmd.exe
294
294
- run :
295
295
name : Run Windows binary auto-detect (dry-run)
296
296
command : |
297
- .\out\codecov.exe -F windows -d -Z >> output_win.txt
297
+ .\out\codecov.exe -F windows -d -Z -e CIRCLE_BRANCH >> output_win.txt
298
298
shell : cmd.exe
299
299
- run :
300
300
name : Run Windows binary (upload)
301
301
command : |
302
- .\out\codecov.exe -F windows -Z
302
+ .\out\codecov.exe -F windows -Z -e CIRCLE_BRANCH
303
303
shell : cmd.exe
304
304
305
305
- persist_to_workspace :
@@ -356,7 +356,7 @@ jobs:
356
356
- store_artifacts :
357
357
path : output_win.txt
358
358
- store_artifacts :
359
- path : output_win_without_git.txt
359
+ path : output_win_without_git.txt
360
360
361
361
# TODO: add test runs for each binary outside of a git project
362
362
0 commit comments