-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update workflow to use elasticsearch with raudikko #356
Conversation
voneiden
commented
Apr 4, 2023
•
edited
Loading
edited
- Workflow updated to support elasticsearch with raudikko (using docker compose)
- Pytest configuration updated to use a test_settings.py file and override the test index names
- Made conditional voikko tests as non-conditional tests. Rationale is that I'd rather have tests fail than be skipped.
Codecov Report
@@ Coverage Diff @@
## main #356 +/- ##
==========================================
+ Coverage 93.91% 94.32% +0.40%
==========================================
Files 151 152 +1
Lines 5509 5514 +5
==========================================
+ Hits 5174 5201 +27
+ Misses 335 313 -22
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
02f7552
to
02050b2
Compare
8112d0b
to
c21bd51
Compare
Kudos, SonarCloud Quality Gate passed! |
@@ -21,9 +21,7 @@ def test_classification_search_exact(user_api_client, classification): | |||
|
|||
|
|||
@pytest.mark.django_db | |||
def test_classification_search_fuzzy1(user_api_client, es_connection, classification): | |||
if "voikko" not in str(es_connection.indices.get_settings()): |
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.
Nice catch. 👍
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.
LGTM! 👍
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.
LGTM 👍