Browse Source

Exclude migrations from coverage reports

master
Pēteris Caune 3 years ago
parent
commit
c5b170c086
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .github/workflows/django.yml

+ 1
- 1
.github/workflows/django.yml View File

@ -48,7 +48,7 @@ jobs:
DB_PASSWORD: ${{ matrix.db_password }}
SECRET_KEY: dummy-key
run: |
coverage run --omit=*/tests/* --source=hc manage.py test
coverage run --omit=*/tests/*,*/migrations/* --source=hc manage.py test
- name: Coveralls
if: matrix.db == 'postgres' && matrix.python-version == '3.8'
run: coveralls --service=github


Loading…
Cancel
Save