Skip to content

Commit 6de359d

Browse files
Merge #913
913: Disable code-cov r=curquiza a=sanders41 # Pull Request ## Related issue Fixes #<issue_number> ## What does this PR do? - ... ## PR checklist Please check if your PR fulfills the following requirements: - [ ] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [ ] Have you read the contributing guidelines? - [ ] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Paul Sanders <[email protected]>
2 parents a464d39 + 6511a81 commit 6de359d

File tree

2 files changed

+28
-37
lines changed

2 files changed

+28
-37
lines changed

Diff for: .github/workflows/tests.yml

-6
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ jobs:
3535
run: docker run -d -p 7700:7700 getmeili/meilisearch:latest meilisearch --no-analytics --master-key=masterKey
3636
- name: Test with pytest
3737
run: pipenv run pytest --cov-report=xml
38-
- name: Upload coverage
39-
uses: codecov/codecov-action@v3
40-
with:
41-
fail_ci_if_error: true
42-
env:
43-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4438

4539
pylint:
4640
name: pylint

Diff for: README.md

+28-31
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
<p align="center">
1818
<a href="https://badge.fury.io/py/meilisearch"><img src="https://badge.fury.io/py/meilisearch.svg" alt="PyPI version"></a>
1919
<a href="https://github.com/meilisearch/meilisearch-python/actions"><img src="https://github.com/meilisearch/meilisearch-python/workflows/Tests/badge.svg" alt="Test Status"></a>
20-
<a href="https://codecov.io/gh/meilisearch/meilisearch-python">
21-
<img src="https://codecov.io/github/meilisearch/meilisearch-python/coverage.svg?branch=main" alt="Codecov">
22-
</a>
2320
<a href="https://github.com/meilisearch/meilisearch-python/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-informational" alt="License"></a>
2421
<a href="https://ms-bors.herokuapp.com/repositories/57"><img src="https://bors.tech/images/badge_small.svg" alt="Bors enabled"></a>
2522
</p>
@@ -103,7 +100,7 @@ With the task `uid`, you can check the status (`enqueued`, `canceled`, `processi
103100

104101
#### Basic Search <!-- omit in toc -->
105102

106-
``` python
103+
```python
107104
# Meilisearch is typo-tolerant:
108105
index.search('caorl')
109106
```
@@ -112,17 +109,17 @@ Output:
112109

113110
```json
114111
{
115-
"hits": [
116-
{
117-
"id": 1,
118-
"title": "Carol",
119-
"genre": ["Romance", "Drama"]
120-
}
121-
],
122-
"offset": 0,
123-
"limit": 20,
124-
"processingTimeMs": 1,
125-
"query": "caorl"
112+
"hits": [
113+
{
114+
"id": 1,
115+
"title": "Carol",
116+
"genre": ["Romance", "Drama"]
117+
}
118+
],
119+
"offset": 0,
120+
"limit": 20,
121+
"processingTimeMs": 1,
122+
"query": "caorl"
126123
}
127124
```
128125

@@ -143,21 +140,21 @@ JSON output:
143140

144141
```json
145142
{
146-
"hits": [
147-
{
148-
"id": 6,
149-
"title": "Philadelphia",
150-
"_formatted": {
151-
"id": 6,
152-
"title": "<em>Phil</em>adelphia",
153-
"genre": ["Drama"]
154-
}
155-
}
156-
],
157-
"offset": 0,
158-
"limit": 20,
159-
"processingTimeMs": 0,
160-
"query": "phil"
143+
"hits": [
144+
{
145+
"id": 6,
146+
"title": "Philadelphia",
147+
"_formatted": {
148+
"id": 6,
149+
"title": "<em>Phil</em>adelphia",
150+
"genre": ["Drama"]
151+
}
152+
}
153+
],
154+
"offset": 0,
155+
"limit": 20,
156+
"processingTimeMs": 0,
157+
"query": "phil"
161158
}
162159
```
163160

@@ -193,7 +190,7 @@ index.search(
193190
{
194191
"id": 2,
195192
"title": "Wonder Woman",
196-
"genres": ["Action","Adventure"]
193+
"genres": ["Action", "Adventure"]
197194
}
198195
],
199196
"offset": 0,

0 commit comments

Comments
 (0)