Skip to content

Commit

Permalink
Configure Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmcristobal committed Aug 20, 2022
1 parent c72220f commit e112af9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 7 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,26 @@ jobs:
run: |
coverage run --source ragnar -m pytest
pytest tests/
- name: Coverage
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
COVERALLS_FLAG_NAME: ${{ matrix.python-version}}
COVERALLS_PARALLEL: true
if: (! contains(matrix.python-version, 'pypy'))
run: |
coverage report --show-missing --fail-under=100
pip install coveralls
coverage report --show-missing
coveralls --service=github
finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true


14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
Ragnar
======

.. image:: https://img.shields.io/pypi/v/ragnar.svg
:target: https://pypi.python.org/pypi/ragnar

.. image:: https://github.com/juanmcristobal/ragnar/actions/workflows/test.yml/badge.svg?branch=master
:target: (https://github.com/juanmcristobal/ragnar/actions/workflows/test.yml

.. image:: https://readthedocs.org/projects/ragnar/badge/?version=latest
:target: https://ragnar.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://coveralls.io/repos/github/juanmcristobal/ragnar/badge.svg?branch=master
:target: https://coveralls.io/github/juanmcristobal/ragnar?branch=master

.. image:: https://img.shields.io/pypi/v/ragnar.svg
:target: https://pypi.python.org/pypi/ragnar

.. image:: https://readthedocs.org/projects/ragnar/badge/?version=latest
:target: https://ragnar.readthedocs.io/en/latest
:alt: Documentation Status

Ragnar is a lightweight Extract-Transform-Load (ETL) framework for Python 3.5+.

* Free software: MIT license
Expand Down

0 comments on commit e112af9

Please sign in to comment.