correct typo on pill_button plugin #1161
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: '16' | |
- 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 uglify:scripts | |
npm run build | |
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 |