Skip to content

Commit a2beb05

Browse files
HassanAbouelelajchristgit
authored andcommitted
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]>
1 parent 4998984 commit a2beb05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/lint-test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
CI: True
104104
DATABASE_URL: postgres://pysite:pysite@localhost:7777/pysite
105105
METRICITY_DB_URL: postgres://pysite:pysite@localhost:7777/metricity
106+
PYTHONWARNINGS: error
106107

107108
# This step will publish the coverage reports coveralls.io and
108109
# print a "job" link in the output of the GitHub Action

0 commit comments

Comments
 (0)