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

ci: code coverage #293

Merged
merged 6 commits into from
Jul 1, 2021
Merged

ci: code coverage #293

merged 6 commits into from
Jul 1, 2021

Conversation

enthusiastmartin
Copy link
Contributor

Run tests with code coverage using tarpaulin. Upload to codecov.io

@auto-add-label auto-add-label bot added the ci label Jun 30, 2021
@galacticcouncil galacticcouncil deleted a comment from codecov bot Jun 30, 2021
@galacticcouncil galacticcouncil deleted a comment from codecov bot Jun 30, 2021
@galacticcouncil galacticcouncil deleted a comment from codecov bot Jun 30, 2021
@galacticcouncil galacticcouncil deleted a comment from codecov bot Jun 30, 2021
@codecov
Copy link

codecov bot commented Jun 30, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@18b05cb). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #293   +/-   ##
=========================================
  Coverage          ?   14.82%           
=========================================
  Files             ?       24           
  Lines             ?     6970           
  Branches          ?        0           
=========================================
  Hits              ?     1033           
  Misses            ?     5937           
  Partials          ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18b05cb...9d001db. Read the comment docs.

- name: Tests
run: time cargo test --all --release --verbose --locked
- name: Benchmarking tests
run: cd node && cargo test --release --features runtime-benchmarks -p pallet-exchange-benchmarking -p pallet-xyk -p pallet-multi-payment-benchmarking -p pallet-claims
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

benchamrking tests are removed intentionally?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, removed. Benchmarks tests are part of the other step and included in the coverage too.

@mrq1911 mrq1911 merged commit aaaa570 into master Jul 1, 2021
@enthusiastmartin enthusiastmartin deleted the codecov branch July 1, 2021 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants