aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-08-19 01:20:02 +0400
committerGravatar Johannes Christ <[email protected]>2022-09-04 18:52:01 +0200
commita2beb0531151e980d304deae64a43cdc42a68b7b (patch)
tree492a2dd48670d53c699a7b9b6f5c61fde86e7ddd /.github
parentFix Unittest Deprecation Warnings (diff)
Enable Python Warnings In Tests
There are currently no warnings emitted during our tests, so this is a low-cost method of ensuring we can better notice problems such as deprecation warnings earlier. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint-test.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml
index a167ce32..b67cf98a 100644
--- a/.github/workflows/lint-test.yaml
+++ b/.github/workflows/lint-test.yaml
@@ -103,6 +103,7 @@ jobs:
CI: True
DATABASE_URL: postgres://pysite:pysite@localhost:7777/pysite
METRICITY_DB_URL: postgres://pysite:pysite@localhost:7777/metricity
+ PYTHONWARNINGS: error
# This step will publish the coverage reports coveralls.io and
# print a "job" link in the output of the GitHub Action