Skip to content
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

chore(ci): run coverage again #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
48 changes: 47 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,53 @@ steps:
status:
- failure
---
kind: pipeline
name: coverage

depends_on:
- rustfmt

steps:
- name: git
image: docker:git
commands:
- git submodule update --recursive --init
- name: generate-coverage
image: xd009642/tarpaulin:latest
pull: always
privileged: true
environment:
GIT_AUTHOR_EMAIL: drone
GIT_AUTHOR_NAME: [email protected]
commands:
- cargo tarpaulin --verbose --out Xml --timeout 3000 --exclude-files src/bin/** vendor/**

- name: upload-coverage
image: plugins/codecov
pull: always
environment:
GIT_AUTHOR_EMAIL: [email protected]
GIT_AUTHOR_NAME: drone
settings:
token:
from_secret: codecov_token
files:
- cobertura.xml
required: true

- name: matrix-notification
image: plugins/matrix
settings:
roomid: qOcHPTCOgAbkObQgRy:matrix.org
username:
from_secret: matrix_username
password:
from_secret: matrix_password
when:
status:
- failure
---
kind: signature
hmac: 96ee373504b5ab43b8317b1adb75412bcc785f4c68c50b82f40fde057fe9237d
hmac: c71afc104ce9658b014fa5907247664d72e42727be60511eea2e7a0f31e15aff

...