Skip to content

Conversation

@danielhollas
Copy link
Contributor

@danielhollas danielhollas commented Feb 6, 2025

The sqlite-based test fixtures has been available since AiiDA 2.6, but the sqlite backend was missing a support for has_key in QueryBuilder that we use in AWB. This support was added in 2.7, hence we gate the new fixtures by this version. For older versions, we will still run the test suite with old test fixtures that require PGSQL.

@codecov
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.20%. Comparing base (8e613f3) to head (06625d1).

Files with missing lines Patch % Lines
aiidalab_widgets_base/export.py 33.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #677      +/-   ##
==========================================
- Coverage   84.29%   84.20%   -0.09%     
==========================================
  Files          18       18              
  Lines        3584     3589       +5     
==========================================
+ Hits         3021     3022       +1     
- Misses        563      567       +4     
Flag Coverage Δ
python-3.11 84.20% <33.33%> (-0.09%) ⬇️
python-3.9 84.21% <33.33%> (-0.09%) ⬇️

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.

def aiida_local_code_bash(aiida_local_code_factory):
"""Return a `Code` configured for the bash executable."""
return aiida_local_code_factory(executable="bash", entry_point="bash")
def aiida_local_code_bash(aiida_code_installed):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The new fixtures have aiida_code_installed instead of aiida_local_code_factory.

@danielhollas danielhollas added the blocked This issue/PR is blocked by another issue/PR. label Feb 6, 2025
@danielhollas danielhollas added testing and removed blocked This issue/PR is blocked by another issue/PR. labels Aug 12, 2025
@danielhollas danielhollas marked this pull request as ready for review August 12, 2025 11:52
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