Skip to content

CI: make tarpaulin ignore test code #79

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 4 commits into from
Dec 15, 2020
Merged

CI: make tarpaulin ignore test code #79

merged 4 commits into from
Dec 15, 2020

Conversation

msrd0
Copy link
Collaborator

@msrd0 msrd0 commented Dec 14, 2020

Description

tarpaulin does not recognize the tests/ folder, async_std::test or tokio::test, so we'll ignore that code manually

also fixes a caching issue with GitHub actions

Checklist

  • Formatted code using cargo fmt --all
  • Linted code using clippy cargo clippy --all-targets --all-features -- -D warnings
  • Updated README.md using cargo readme -r influxdb -t ../README.tpl > README.md
  • Reviewed the diff. Did you leave any print statements or unnecessary comments?
  • Any unfinished work that warrants a separate issue captured in an issue with a TODO code comment

@msrd0 msrd0 marked this pull request as draft December 14, 2020 22:48
@msrd0 msrd0 marked this pull request as ready for review December 15, 2020 13:43
@msrd0
Copy link
Collaborator Author

msrd0 commented Dec 15, 2020

Looks like I got it fixed for now. Hopefully tarpaulin gets smarter in the future about which code needs to be tested and what code is testing code.

@Empty2k12
Copy link
Collaborator

Great change, thanks!

@Empty2k12 Empty2k12 merged commit 5ed1347 into influxdb-rs:master Dec 15, 2020
@Empty2k12 Empty2k12 deleted the tarpaulin-ignore-test-code branch December 15, 2020 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants