diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa283a4..fa07099 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,8 +26,8 @@ jobs: with: path: ${{ env.pythonLocation }} key: ${{ matrix.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', '**/requirements-dev.txt') }} - - name: Install tox and tox-gh-actions - run: pip install tox==3.21.3 tox-gh-actions==2.4.0 + - name: Install tox, tox-gh-actions and coveralls + run: pip install tox==3.21.3 tox-gh-actions==2.4.0 coveralls==3.0.0 - name: Lint using flake8 if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.6' && matrix.pytorch-version == '1.8' }} run: tox -e flake8 @@ -45,8 +45,8 @@ jobs: name: tox-gh-actions-coverage path: coverage.xml if-no-files-found: error - #- name: Upload coverage.xml to codecov - # if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' && matrix.pytorch-version == '1.8' }} - # uses: codecov/codecov-action@v1 - # with: - # fail_ci_if_error: true + - name: Coveralls + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' && matrix.pytorch-version == '1.8' }} + run: coveralls --service=github + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 8506537..98af428 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/entity-embed)](https://pypi.org/project/entity-embed/) [![CI](https://github.com/vintasoftware/entity-embed/actions/workflows/ci.yml/badge.svg)](https://github.com/vintasoftware/entity-embed/actions/workflows/ci.yml) [![Documentation Status](https://readthedocs.org/projects/entity-embed/badge/?version=latest)](https://entity-embed.readthedocs.io/en/latest/?badge=latest) -[![codecov](https://codecov.io/gh/vintasoftware/entity-embed/branch/main/graph/badge.svg?token=4BW63JN071)](https://codecov.io/gh/vintasoftware/entity-embed) +[![Coverage Status](https://coveralls.io/repos/github/vintasoftware/entity-embed/badge.svg?branch=main)](https://coveralls.io/github/vintasoftware/entity-embed?branch=main) [![License: MIT](https://img.shields.io/github/license/vintasoftware/django-react-boilerplate.svg)](LICENSE.txt) Entity Embed allows you to transform entities like companies, products, etc. into vectors to support **scalable Record Linkage / Entity Resolution using Approximate Nearest Neighbors**.