mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +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
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pycodestyle coverage
|
||||
pip install pycodestyle
|
||||
pip install -r requirements.txt
|
||||
python manage.py collectstatic --noinput
|
||||
- name: Basic Checks
|
||||
@@ -45,10 +45,13 @@ jobs:
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container: python:3-slim
|
||||
needs: build
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
run: pip install coverage coveralls
|
||||
- name: Run Tests
|
||||
run: coverage run python manage.py test --verbosity=2
|
||||
- name: Upload coverage data to coveralls.io
|
||||
|
||||
@@ -8,8 +8,6 @@ certifi==2020.6.20
|
||||
chardet==3.0.4
|
||||
configparser==5.0.1
|
||||
contextlib2==0.6.0.post1
|
||||
coverage==5.3
|
||||
coveralls==3.0.0
|
||||
cssselect==1.1.0
|
||||
cssutils==1.0.2
|
||||
diff-match-patch==20200713
|
||||
|
||||
Reference in New Issue
Block a user