Bump django from 3.2.25 to 5.0.8 #312
Workflow file for this run
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: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
pytest: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install Python dependencies | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements.txt -r requirements-dev.txt | |
- name: Lint python code | |
run: flake8 --ignore=E501,F401,E402,F811,E731,F403,E721 . | |
- name: Run django checks | |
run: ./manage.py check | |
- name: Check migrations | |
run: ./manage.py makemigrations --dry-run --check | |
- name: Run tests | |
run: FAKE_REDIS=1 DEBUG=1 py.test |