Skip to content

Commit

Permalink
ci: from coveralls to codecov (#229)
Browse files Browse the repository at this point in the history
* ci: from coveralls to codecov

* add cov back
  • Loading branch information
lucasrcezimbra authored Apr 8, 2024
1 parent 808f637 commit f91ed35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pre-commit install
- name: Run pre-commit
run: |
pre-commit run -a
- name: Test with pytest
run: |
pytest --cov=pyitau
- name: Upload coverage data to coveralls.io
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: pre-commit run -a
- run: pytest --cov=pyitau
- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: lucasrcezimbra/pyitau
4 changes: 0 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ pyitau
:target: https://badge.fury.io/py/pyitau
:alt: PyPI

.. image:: https://coveralls.io/repos/github/lucasrcezimbra/pyitau/badge.svg?branch=master
:target: https://coveralls.io/github/lucasrcezimbra/pyitau?branch=master
:alt: Coverage

.. image:: https://readthedocs.org/projects/pyitau/badge/?version=latest
:target: https://pyitau.readthedocs.io/en/latest/?version=latest
:alt: Documentation Status
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
-e .

coveralls==3.3.1
flake8==6.0.0
pre-commit==3.1.1
pytest==7.2.2
Expand Down

0 comments on commit f91ed35

Please sign in to comment.