Skip to content

Commit

Permalink
Move warnings-as-errors config to pytest.ini and handle IDAES/idaes-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Dec 13, 2024
1 parent 00c565f commit 2fc7f9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defaults:
env:
# --color=yes needed for colorized output to be shown in GHA logs
# --pyargs watertap is needed to be able to define CLI options in watertap/conftest.py
PYTEST_ADDOPTS: "--color=yes -Werror"
PYTEST_ADDOPTS: "--color=yes"
PIP_PROGRESS_BAR: "off"
WATERTAP_KERNEL_NAME: watertap-dev

Expand Down
6 changes: 5 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ testpaths = watertap
log_file = pytest.log
log_file_date_format = %Y-%m-%dT%H:%M:%S
log_file_format = %(asctime)s %(levelname)-7s <%(filename)s:%(lineno)d> %(message)s
log_file_level = INFO
log_file_level = INFO
filterwarnings =
error
# see IDAES/idaes-pse#1549
ignore:unclosed file .*Visualization-data/SA-.*\.bin:ResourceWarning

0 comments on commit 2fc7f9b

Please sign in to comment.