Skip to content

Add Aqua.jl#1066

Open
svchb wants to merge 14 commits intotrixi-framework:mainfrom
svchb:add_aquq
Open

Add Aqua.jl#1066
svchb wants to merge 14 commits intotrixi-framework:mainfrom
svchb:add_aquq

Conversation

@svchb
Copy link
Collaborator

@svchb svchb commented Feb 3, 2026

No description provided.

@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

❌ Patch coverage is 58.33333% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.34%. Comparing base (9b9efbe) to head (010bbcd).

Files with missing lines Patch % Lines
src/general/gpu.jl 0.00% 4 Missing ⚠️
.../schemes/boundary/wall_boundary/monaghan_kajtar.jl 0.00% 2 Missing ⚠️
...c/schemes/structure/total_lagrangian_sph/system.jl 0.00% 2 Missing ⚠️
src/visualization/recipes_plots.jl 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1066      +/-   ##
==========================================
- Coverage   89.38%   89.34%   -0.05%     
==========================================
  Files         121      121              
  Lines        8890     8903      +13     
==========================================
+ Hits         7946     7954       +8     
- Misses        944      949       +5     
Flag Coverage Δ
total 89.34% <58.33%> (-0.05%) ⬇️
unit 65.37% <50.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@svchb svchb requested a review from efaulhaber February 4, 2026 09:17
@svchb svchb self-assigned this Feb 4, 2026
using TrixiParticles

const TEST_AMBIGUITIES = let
value = lowercase(get(ENV, "TRIXIPARTICLES_TEST_AMBIGUITIES", "false"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? How long do these tests take? Are they not fast enough to always include them?

Also, why is this not tested in CI?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed all problems that can be fixed easily. This fails with ambiguities that can only be fixed by:

  1. Modifying code that is imported
  2. Duplicating code that is imported
  3. Adding extensions to hide the imports

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you checked out the Trixi.jl version?
https://github.com/trixi-framework/Trixi.jl/blob/main/test/test_aqua.jl

They don't test for ambiguities at all. Maybe it makes sense to do the same and just remove the TRIXIPARTICLES_TEST_AMBIGUITIES altogether?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well practically I do the same. I just thought to keep it as an option.

@@ -0,0 +1,9 @@
using Aqua
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sloede why is Trixi using a new module for this?

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.

2 participants