Skip to content

Merge pull request #125 from girleffect/dependabot/npm_and_yarn/geweb… #605

Merge pull request #125 from girleffect/dependabot/npm_and_yarn/geweb…

Merge pull request #125 from girleffect/dependabot/npm_and_yarn/geweb… #605

Workflow file for this run

name: Run tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
black --check .
flake8 . --count --show-source --statistics
isort -c .
- name: Django Test
run: |
./manage.py collectstatic --settings=geweb.settings.base
./manage.py test --settings=geweb.settings.base