mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-27 02:12:18 +00:00
Try this way of parallel coverage
This commit is contained in:
4
.github/workflows/django.yml
vendored
4
.github/workflows/django.yml
vendored
@@ -46,7 +46,7 @@ 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 -m pytest -n 8 ${{ matrix.test-group }}
|
run: coverage run -p -m pytest --cov=${{ matrix.test-group }} --cov-append -n 8 ${{ matrix.test-group }}/tests/
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
@@ -54,7 +54,7 @@ jobs:
|
|||||||
path: screenshots/
|
path: screenshots/
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
- name: Upload Coverage
|
- name: Upload Coverage
|
||||||
run: coveralls --service=github
|
run: coverage combine && coveralls --service=github
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
COVERALLS_FLAG_NAME: ${{ matrix.test-group }}
|
COVERALLS_FLAG_NAME: ${{ matrix.test-group }}
|
||||||
|
|||||||
@@ -49,8 +49,9 @@ PyPOM==2.2.0
|
|||||||
python-dateutil==2.8.1
|
python-dateutil==2.8.1
|
||||||
pytoml==0.1.21
|
pytoml==0.1.21
|
||||||
pytz==2020.5
|
pytz==2020.5
|
||||||
pytest_django==4.1.0
|
pytest-django==4.1.0
|
||||||
pytest-xdist==2.2.0
|
pytest-xdist==2.2.0
|
||||||
|
pytest-cov==2.11.1
|
||||||
raven==6.10.0
|
raven==6.10.0
|
||||||
reportlab==3.5.60
|
reportlab==3.5.60
|
||||||
requests==2.25.1
|
requests==2.25.1
|
||||||
|
|||||||
Reference in New Issue
Block a user