mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-21 23:42:14 +00:00
What about now
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
[run]
|
[run]
|
||||||
source =
|
source =
|
||||||
./
|
./
|
||||||
|
plugins =
|
||||||
|
django_coverage_plugin
|
||||||
|
|
||||||
omit =
|
omit =
|
||||||
*/migrations/*
|
*/migrations/*
|
||||||
|
|||||||
8
.github/workflows/django.yml
vendored
8
.github/workflows/django.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pycodestyle coverage coveralls
|
pip install pycodestyle coverage coveralls django_coverage_plugin
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
python manage.py collectstatic --noinput
|
python manage.py collectstatic --noinput
|
||||||
- name: Basic Checks
|
- name: Basic Checks
|
||||||
@@ -43,6 +43,6 @@ jobs:
|
|||||||
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
|
- name: Run Tests
|
||||||
run: coverage run manage.py test --verbosity=2
|
run: |
|
||||||
- name: Upload coverage data to coveralls.io
|
coverage run manage.py test --verbosity=2
|
||||||
run: coveralls
|
coveralls
|
||||||
|
|||||||
Reference in New Issue
Block a user