Skip to content

Commit

Permalink
Merge pull request #28 from keitaroinc/fix-coveralls-and-ci-badge
Browse files Browse the repository at this point in the history
Fix coveralls initiation and CI badge
  • Loading branch information
mbocevski committed Jan 28, 2021
2 parents 7f87d2a + 8cf6d0d commit a9bc575
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[run]
relative_files = True

[report]
omit =
*/site-packages/*
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI-CKAN-2.8

on:
push:
Expand Down Expand Up @@ -86,3 +86,6 @@ jobs:
- name: Test
run: |
nosetests --ckan --with-pylons=subdir/test.ini --with-coverage --cover-package=ckanext ckanext/saml2auth/tests
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ idp.xml

.flake8
.pre-commit-config.yaml

test-signed-encrypted.xml
test-signed.xml
*.pem
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
these badges work. The necessary Travis and Coverage config files have been
generated for you.
.. image:: https://travis-ci.com/keitaroinc/ckanext-saml2auth.svg?branch=ckan-2.8
:target: https://travis-ci.com/keitaroinc/ckanext-saml2auth
.. image:: https://github.com/keitaroinc/ckanext-saml2auth/workflows/CI-CKAN-2.8/badge.svg
:target: https://github.com/keitaroinc/ckanext-saml2auth/actions

.. image:: https://coveralls.io/repos/github/keitaroinc/ckanext-saml2auth/badge.svg?branch=ckan-2.8
:target: https://coveralls.io/github/keitaroinc/ckanext-saml2auth?branch=ckan-2.8
Expand Down

0 comments on commit a9bc575

Please sign in to comment.