Fix dependencies for coverage step

This commit is contained in:
2021-01-25 00:12:13 +00:00
parent 169ecea866
commit 1c36d04b06
2 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -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