Skip to content

Bump coverage from 6.4 to 7.2.6 #1123

Bump coverage from 6.4 to 7.2.6

Bump coverage from 6.4 to 7.2.6 #1123

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements.dev.txt
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: '10'
- name: Ensure migrations are up-to-date
run: python manage.py makemigrations --check
- name: Ensure JS and CSS are up-to-date
run: |
npm install
npx grunt sass:dist
npx grunt postcss:dist
npx grunt uglify:scripts
git diff --exit-code static/
- name: Run tests
run: |
coverage run manage.py test
coverage xml
- name: Check coding standards
run: flake8 .
- name: Upload coverage report to codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml