-
Notifications
You must be signed in to change notification settings - Fork 19
Tests: Support sqlite aiida fixtures when available #677
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
base: master
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| 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): |
There was a problem hiding this comment.
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.
aea5749 to
6785bc0
Compare
This reverts commit 571f006.
4efeef6 to
b78fe2e
Compare
The sqlite-based test fixtures has been available since AiiDA 2.6, but the sqlite backend was missing a support for
has_keyin 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.