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

Add test with ExplicitImports.jl #90

Merged
merged 9 commits into from
Sep 25, 2024
Merged

Add test with ExplicitImports.jl #90

merged 9 commits into from
Sep 25, 2024

Conversation

JoshuaLampert
Copy link
Collaborator

I used https://github.com/ericphanson/ExplicitImports.jl to determine, which symbols are needed and imported them explicitly, which is considered a good practice. I also added a test to ensure only explicit imports and also no stale imports.

test/aqua.jl Outdated Show resolved Hide resolved
@JoshuaLampert
Copy link
Collaborator Author

JoshuaLampert commented Sep 25, 2024

By skimming through the the documentation of ExplicitImport.jl again, I saw there are some new tests compared to the last time I checked. I also added them. check_all_qualified_accesses_are_public fails, e.g., because BezierEvalMethod is not exported from Meshes.jl, but used here. That's why I skipped this test. But I think that's fine.

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.50%. Comparing base (fb671d8) to head (5b00b9b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #90   +/-   ##
=======================================
  Coverage   90.50%   90.50%           
=======================================
  Files          16       16           
  Lines         316      316           
=======================================
  Hits          286      286           
  Misses         30       30           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/MeshIntegrals.jl Outdated Show resolved Hide resolved
@mikeingold
Copy link
Owner

mikeingold commented Sep 25, 2024

Wow. Is it normal that the Downgrade Action takes >30 minutes to complete? (not blocking, this appears to be the case on other recent PR's as well, just curious)

@mikeingold mikeingold merged commit d784136 into main Sep 25, 2024
15 checks passed
@mikeingold mikeingold deleted the explicitimports branch September 25, 2024 23:31
@JoshuaLampert
Copy link
Collaborator Author

Wow. Is it normal that the Downgrade Action takes >30 minutes to complete?

I was also a bit surprised. Seems like more recent package versions made some significant performance improvements (which is also nice to see).

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