mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-09 00:09:44 +00:00
Try a different way of doing coverage
This commit is contained in:
15
.github/workflows/django.yml
vendored
15
.github/workflows/django.yml
vendored
@@ -42,15 +42,14 @@ jobs:
|
|||||||
pycodestyle . --exclude=migrations,importer*
|
pycodestyle . --exclude=migrations,importer*
|
||||||
python manage.py check
|
python manage.py check
|
||||||
python manage.py makemigrations --check --dry-run
|
python manage.py makemigrations --check --dry-run
|
||||||
- name: Run Tests
|
|
||||||
run: |
|
|
||||||
coverage run manage.py test --verbosity=2
|
|
||||||
|
|
||||||
upload-coverage:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- name: Coveralls GitHub Action
|
- name: Run Tests
|
||||||
uses: coverallsapp/github-action@v1.1.2
|
run: coverage run python manage.py test --verbosity=2
|
||||||
with:
|
- name: Upload coverage data to coveralls.io
|
||||||
github-token: ${{ secrets.github_token }}
|
run: coveralls
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ chardet==3.0.4
|
|||||||
configparser==5.0.1
|
configparser==5.0.1
|
||||||
contextlib2==0.6.0.post1
|
contextlib2==0.6.0.post1
|
||||||
coverage==5.3
|
coverage==5.3
|
||||||
|
coveralls==3.0.0
|
||||||
cssselect==1.1.0
|
cssselect==1.1.0
|
||||||
cssutils==1.0.2
|
cssutils==1.0.2
|
||||||
diff-match-patch==20200713
|
diff-match-patch==20200713
|
||||||
|
|||||||
Reference in New Issue
Block a user