Skip to content

Commit bc24169

Browse files
committed
[CI] Ignore thermo warnings when testing examples
1 parent aecf671 commit bc24169

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,6 @@ jobs:
457457
- name: Run the examples
458458
# See https://unix.stackexchange.com/a/392973 for an explanation of the -exec part.
459459
# Skip 1D_packed_bed.py due to difficulty installing scikits.odes.
460-
# Skip continuous_reactor.py due to thermo warnings
461460
# Increase figure limit to handle flame_speed_convergence_analysis.py.
462461
run: |
463462
ln -s libcantera_shared.so build/lib/libcantera_shared.so.3
@@ -471,7 +470,8 @@ jobs:
471470
# The pyparsing ignore setting is due to a new warning introduced in Matplotlib==3.6.0
472471
# @todo: Remove the trapz-related ignore when dropping support for NumPy 1.x
473472
# and replacing np.trapz with np.trapezoid
474-
PYTHONWARNINGS: "error,ignore:warn_name_set_on_empty_Forward::pyparsing,ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:,ignore:`trapz`:DeprecationWarning"
473+
# Ignore NasaPoly2 warnings from n-hexane-NUIG-2015.yaml
474+
PYTHONWARNINGS: "error,ignore:warn_name_set_on_empty_Forward::pyparsing,ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:,ignore:`trapz`:DeprecationWarning,ignore:NasaPoly2:UserWarning:"
475475
MPLBACKEND: Agg
476476
- name: Save the results file for inspection
477477
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)