Skip to content

Fix PEP8

Fix PEP8 #6

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-ci.txt
- name: Check PEP8
run: |
flake8 -v --ignore=E501 django_models test-django-project
- name: Run tests
run: |
cd test-django-project && py.test -vvv -s --cov django_models --cov-report=term-missing --cov-report=html
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./test-django-project/.coverage
name: codecov-umbrella