Skip to content

Commit

Permalink
Fix coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
mbocevski committed Jan 16, 2021
1 parent d7f98ee commit 77c333e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 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
13 changes: 7 additions & 6 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: PR Checks
name: CI

on:
push:
branches: main
pull_request:
branches: main

Expand Down Expand Up @@ -68,10 +70,10 @@ jobs:
with:
python-version: '3.8'

- name: Install pytest and coveralls
- name: Install pytest
run: |
python -m pip install --upgrade pip
pip install pytest coveralls
pip install pytest
- name: Setup CKAN
env:
Expand All @@ -83,6 +85,5 @@ jobs:
run: |
pytest --ckan-ini=subdir/test.ini --cov=ckanext.saml2auth --disable-warnings ckanext/saml2auth/tests
- name: Report coverage to Coveralls
run: |
coveralls
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop

0 comments on commit 77c333e

Please sign in to comment.