Skip to content

Feature/loyalty rework #75

Feature/loyalty rework

Feature/loyalty rework #75

Workflow file for this run

name: Test pep8
on:
push:
branches:
- main
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
working-directory: ./backend
run: |
python -m pip install --upgrade pip
pip install flake8==6.0.0 flake8-isort==6.0.0
pip install -r requirements.txt
- name: Run linting
run: |
flake8 .
- name: Run Django tests
working-directory: ./backend
run: |
python manage.py test