Skip to content

Commit

Permalink
fix coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Apr 1, 2022
1 parent d4d1dbf commit 96ad145
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand Down Expand Up @@ -79,9 +82,12 @@ jobs:
pip uninstall -y django-ajax-selects
pip install git+https://github.com/andyzickler/django-ajax-selects@remove-default-app-config
- name: Testing
run: PYTHONPATH=`pwd` python -W error::DeprecationWarning -m coverage run --source django_su ./example/manage.py test
- name: upload coverage
run: |
PYTHONPATH=`pwd` python -W error::DeprecationWarning -m coverage run --source django_su ./example/manage.py test
coverage xml && codecov
coverage xml
coveralls
codecov
env:
DATABASE_URL: "postgresql://postgres:postgres@localhost/postgres"

Expand Down

0 comments on commit 96ad145

Please sign in to comment.