mirror of
https://github.com/Cantera/cantera.git
synced 2024-07-07 04:53:34 -05:00
[CI] Ignore thermo warnings when testing examples
This commit is contained in:
parent
aecf6715bc
commit
bc24169dad
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -457,7 +457,6 @@ jobs:
|
|||
- name: Run the examples
|
||||
# See https://unix.stackexchange.com/a/392973 for an explanation of the -exec part.
|
||||
# Skip 1D_packed_bed.py due to difficulty installing scikits.odes.
|
||||
# Skip continuous_reactor.py due to thermo warnings
|
||||
# Increase figure limit to handle flame_speed_convergence_analysis.py.
|
||||
run: |
|
||||
ln -s libcantera_shared.so build/lib/libcantera_shared.so.3
|
||||
|
@ -471,7 +470,8 @@ jobs:
|
|||
# The pyparsing ignore setting is due to a new warning introduced in Matplotlib==3.6.0
|
||||
# @todo: Remove the trapz-related ignore when dropping support for NumPy 1.x
|
||||
# and replacing np.trapz with np.trapezoid
|
||||
PYTHONWARNINGS: "error,ignore:warn_name_set_on_empty_Forward::pyparsing,ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:,ignore:`trapz`:DeprecationWarning"
|
||||
# Ignore NasaPoly2 warnings from n-hexane-NUIG-2015.yaml
|
||||
PYTHONWARNINGS: "error,ignore:warn_name_set_on_empty_Forward::pyparsing,ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:,ignore:`trapz`:DeprecationWarning,ignore:NasaPoly2:UserWarning:"
|
||||
MPLBACKEND: Agg
|
||||
- name: Save the results file for inspection
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
Loading…
Reference in New Issue
Block a user