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

Fix CI #879

Merged
merged 5 commits into from
Jan 10, 2023
Merged

Fix CI #879

merged 5 commits into from
Jan 10, 2023

Conversation

nathanwhit
Copy link
Contributor

Description of proposed changes:

Practical tips for PR review & merge:

  • All GitHub Actions report PASS
  • Newly added code/functions have unit tests
    • Coverage tools report all newly added lines as covered
    • The positive scenario is exercised
    • Negative scenarios are exercised, e.g. assert on all possible errors
    • Assert on events triggered if applicable
    • Assert on changes made to storage if applicable
  • Modified behavior/functions - try to make sure above test items are covered
  • Integration tests are added if applicable/needed

@CAGS295 CAGS295 self-requested a review January 6, 2023 23:17
CAGS295
CAGS295 previously approved these changes Jan 6, 2023
@nathanwhit nathanwhit marked this pull request as ready for review January 6, 2023 23:17
@nathanwhit nathanwhit changed the title Try fixing CI Fix CI Jan 6, 2023
@github-actions
Copy link

github-actions bot commented Jan 6, 2023

For full LLVM coverage report click here!

@CAGS295
Copy link
Contributor

CAGS295 commented Jan 6, 2023

If we cargo check --all-features --all-targets for each package, we could simplify CI.

primitives/Cargo.toml Outdated Show resolved Hide resolved
atodorov
atodorov previously approved these changes Jan 9, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #879 (06fe241) into dev (f0fa693) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #879   +/-   ##
=======================================
  Coverage   78.14%   78.14%           
=======================================
  Files          68       68           
  Lines       10666    10666           
=======================================
  Hits         8335     8335           
  Misses       2331     2331           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@nathanwhit
Copy link
Contributor Author

For the record, it looks like our coverage job broke. We currently rely on the unstable --doctests option of cargo-llvm-cov (that option depends on some nightly flags), which is what broke in CI.

Since AFAIK we don't actually have any doctests, I removed the --doctests flag to fix the coverage CI job. That removal means that if we did have doctests, we now wouldn't see coverage resulting from their execution so we'd underestimate our coverage a bit. It's a pretty negligible impact even if we did use doctests, imo.

@atodorov atodorov enabled auto-merge (rebase) January 10, 2023 08:08
@atodorov atodorov merged commit 39fb3ef into dev Jan 10, 2023
@atodorov atodorov deleted the ci-fix-hopefully branch January 10, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants