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: get code coverage from python test scripts too (#40) #41

Merged
merged 1 commit into from
Oct 3, 2021

Conversation

Shadow53
Copy link
Owner

@Shadow53 Shadow53 commented Oct 3, 2021

Resolves #40.

This adds running the integration tests with the nightly compiler, which allows for generating profiling data from the integration tests and using that to determine code coverage.

@Shadow53 Shadow53 added enhancement New feature or request tests Tests are missing or failing labels Oct 3, 2021
@Shadow53 Shadow53 self-assigned this Oct 3, 2021
@netlify
Copy link

netlify bot commented Oct 3, 2021

✔️ Deploy Preview for hoard-docs ready!

🔨 Explore the source changes: 7eebcf1

🔍 Inspect the deploy log: https://app.netlify.com/sites/hoard-docs/deploys/615959e8beec920007c11fe3

😎 Browse the preview: https://deploy-preview-41--hoard-docs.netlify.app

@codecov
Copy link

codecov bot commented Oct 3, 2021

Codecov Report

Merging #41 (7eebcf1) into main (6356167) will increase coverage by 11.99%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##             main      #41       +/-   ##
===========================================
+ Coverage   57.14%   69.14%   +11.99%     
===========================================
  Files          17       23        +6     
  Lines        2084     3056      +972     
  Branches      532        0      -532     
===========================================
+ Hits         1191     2113      +922     
- Misses        536      943      +407     
+ Partials      357        0      -357     
Impacted Files Coverage Δ
src/config/builder/hoard.rs 90.32% <100.00%> (+21.47%) ⬆️
src/main.rs 2.56% <0.00%> (-1.61%) ⬇️
src/config/hoard.rs 0.72% <0.00%> (-0.86%) ⬇️
src/filters/mod.rs 0.00% <0.00%> (ø)
src/checkers/history/mod.rs 0.00% <0.00%> (ø)
tests/lib.rs 100.00% <0.00%> (ø)
tests/config/precedence_conflict/mod.rs 85.71% <0.00%> (ø)
src/filters/ignore.rs 0.00% <0.00%> (ø)
src/checkers/history/operation.rs 0.00% <0.00%> (ø)
src/config/mod.rs 29.11% <0.00%> (+8.61%) ⬆️
... and 13 more

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 6356167...7eebcf1. Read the comment docs.

@Shadow53 Shadow53 merged commit d62e110 into main Oct 3, 2021
@Shadow53 Shadow53 deleted the 40-integration-test-coverage branch October 3, 2021 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests Tests are missing or failing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code coverage using Python tests?
1 participant