Skip to content

Commit

Permalink
👷 Added code cov
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbadyal committed Sep 18, 2023
1 parent 5aa94c9 commit 354dc06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,8 @@ jobs:
with:
report-title: >-
Pytest - Python ${{ matrix.PYTHON_VERSION }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# EsXport
[![codecov](https://codecov.io/gh/nikhilbadyal/esxport/graph/badge.svg?token=zaoNlW2YXq)](https://codecov.io/gh/nikhilbadyal/esxport)

An adept Python CLI utility designed for querying Elasticsearch and exporting result as a CSV file.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ warn_unused_configs = true
pythonpath = ["src"]

[tool.pytest.ini_options]
addopts = "--cov --ff -x --no-cov-on-fail --emoji -n4"
addopts = "--cov --cov-report=xml --ff -x --no-cov-on-fail --emoji -n4"

[tool.coverage.run]
branch = true
Expand Down

0 comments on commit 354dc06

Please sign in to comment.