0
0
mirror of https://github.com/django/django.git synced 2024-11-21 10:59:04 +01:00

Made GitHub actions display all warnings in Python tests.

This commit is contained in:
Mariusz Felisiak 2024-10-25 09:41:11 +02:00 committed by Sarah Boyce
parent c973d9ee82
commit 7a1fa20e9b
3 changed files with 4 additions and 4 deletions

View File

@ -49,4 +49,4 @@ jobs:
run: python -m pip install --upgrade pip setuptools wheel
- run: python -m pip install -r tests/requirements/py3.txt -e .
- name: Run tests
run: python tests/runtests.py -v2
run: python -Wall tests/runtests.py -v2

View File

@ -36,7 +36,7 @@ jobs:
run: python -m pip install --upgrade pip setuptools wheel
- run: python -m pip install -r tests/requirements/py3.txt -e .
- name: Run tests
run: python tests/runtests.py -v2
run: python -Wall tests/runtests.py -v2
pyc-only:
runs-on: ubuntu-latest
@ -62,7 +62,7 @@ jobs:
find $DJANGO_PACKAGE_ROOT -name '*.py' -print -delete
- run: python -m pip install -r tests/requirements/py3.txt
- name: Run tests
run: python tests/runtests.py --verbosity=2
run: python -Wall tests/runtests.py --verbosity=2
pypy-sqlite:
runs-on: ubuntu-latest

View File

@ -38,7 +38,7 @@ jobs:
run: python -m pip install --upgrade pip setuptools wheel
- run: python -m pip install -r tests/requirements/py3.txt -e .
- name: Run tests
run: python tests/runtests.py -v2
run: python -Wall tests/runtests.py -v2
javascript-tests:
runs-on: ubuntu-latest