You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Local tests script for contribution not executing cargo doc #850
But I couldn't find this file in the repository, so I opened the contrib directory and found out test.sh. Recently, in my PR, I found out that docs tests were failing on github. But locally running ./contrib/test.sh did not pointed out that.
I believe cargo doc is not being executed in ./contrib/test.sh script for local testing. I am not sure if ./contrib/test.sh was supposed to check documentation tests too.
Activity
apoelstra commentedon Feb 26, 2022
Yes, both of these are bugs:
test.shtest.shshould be able to run the doc tests (should be gated by an environment var, similar to the existing fuzztests etc)Merge rust-bitcoin#858: Build the docs with test.sh