mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-02 21:32:15 +00:00
Fix dependencies for coverage step
This commit is contained in:
5
.github/workflows/django.yml
vendored
5
.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
|
pip install pycodestyle
|
||||||
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
|
||||||
@@ -45,10 +45,13 @@ jobs:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: python:3-slim
|
||||||
needs: build
|
needs: build
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: pip install coverage coveralls
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: coverage run python manage.py test --verbosity=2
|
run: coverage run python manage.py test --verbosity=2
|
||||||
- name: Upload coverage data to coveralls.io
|
- name: Upload coverage data to coveralls.io
|
||||||
|
|||||||
@@ -8,8 +8,6 @@ certifi==2020.6.20
|
|||||||
chardet==3.0.4
|
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
|
|
||||||
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