Skip to content

chore(ci): upload coverage tarball for CI runs #549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,22 @@ functions:
shell: bash
script: |
set -e
{
export NODE_JS_VERSION=${node_js_version}
source .evergreen/.setup_env
npm run test-ci
echo "Creating coverage tarball..."
tar cvzf coverage.tgz coverage
}
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/coverage.tgz
remote_file: mongosh/binaries/${revision}/${revision_order_id}/coverage-${build_variant}.tgz
bucket: mciuploads
permissions: public-read
content_type: application/x-gzip
test_vscode:
- command: shell.exec
params:
Expand Down