summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-10-25 09:41:11 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-10-25 10:05:19 +0200
commit7a1fa20e9bca47c4c70734aec99209e402e0f076 (patch)
tree918f87b9543b2599d038a47f55778315ff47522e
parentc973d9ee82a36419a408b193d4195f69734a8e33 (diff)
Made GitHub actions display all warnings in Python tests.
-rw-r--r--.github/workflows/python_matrix.yml2
-rw-r--r--.github/workflows/schedule_tests.yml4
-rw-r--r--.github/workflows/tests.yml2
3 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/python_matrix.yml b/.github/workflows/python_matrix.yml
index ab48c2be83..5901e584aa 100644
--- a/.github/workflows/python_matrix.yml
+++ b/.github/workflows/python_matrix.yml
@@ -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
diff --git a/.github/workflows/schedule_tests.yml b/.github/workflows/schedule_tests.yml
index 1ca766f7f3..5e6038fb31 100644
--- a/.github/workflows/schedule_tests.yml
+++ b/.github/workflows/schedule_tests.yml
@@ -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
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 5de554721d..3373f82e0a 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -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