Skip to content

Commit

Permalink
Add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
maledorak committed Dec 24, 2024
1 parent 1f9d78a commit 74001c8
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 113 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
run: |
poetry run pytest -v --cov=emmetify --cov-report=xml
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
# if: matrix.python-version == '3.12' # Only upload coverage once
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
if: matrix.python-version == '3.12' # Only upload coverage once
with:
token: ${{ secrets.CODECOV_TOKEN }}

package-test:
runs-on: ubuntu-24.04
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ run_quality_checks:
poetry run flake8 emmetify

run_tests:
poetry run pytest
poetry run pytest -v --cov=emmetify
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[![pypi](https://img.shields.io/pypi/v/emmetify.svg)](https://pypi.python.org/pypi/emmetify)
[![versions](https://img.shields.io/pypi/pyversions/emmetify.svg)](https://github.com/emmetify/emmetify-py)
[![PyPI Downloads](https://static.pepy.tech/badge/emmetify)](https://pepy.tech/projects/emmetify)
[![codecov](https://codecov.io/gh/emmetify/emmetify-py/graph/badge.svg?token=GY70C7TMD8)](https://codecov.io/gh/emmetify/emmetify-py)
[![license](https://img.shields.io/github/license/emmetify/emmetify-py.svg)](https://github.com/emmetify/emmetify-py/blob/main/LICENSE)

Cut your LLM processing costs by up to 90% by transforming verbose HTML into efficient Emmet notation, without losing structural integrity.
Expand Down
Loading

0 comments on commit 74001c8

Please sign in to comment.