Skip to content

Commit f1d37ce

Browse files
committed
chore(ci): upload coverage tarball for CI runs
Just realized that this is fairly easy to do, and this might be helpful for us in figuring out where we could improve test coverage.
1 parent d2f0887 commit f1d37ce

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.evergreen.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,16 @@ functions:
146146
export NODE_JS_VERSION=${node_js_version}
147147
source .evergreen/.setup_env
148148
npm run test-ci
149+
tar cvzf coverage.tgz coverage
150+
- command: s3.put
151+
params:
152+
aws_key: ${aws_key}
153+
aws_secret: ${aws_secret}
154+
local_file: src/coverage.tgz
155+
remote_file: mongosh/binaries/${revision}/${revision_order_id}/coverage-${build_variant}.tgz
156+
bucket: mciuploads
157+
permissions: public-read
158+
content_type: application/x-gzip
149159
test_vscode:
150160
- command: shell.exec
151161
params:

0 commit comments

Comments
 (0)