From bc24169dad7dde4db1fdb6c53f4a540129852e1e Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 25 Jun 2024 16:53:28 -0400 Subject: [PATCH] [CI] Ignore thermo warnings when testing examples --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 96485f0ab0..850c2a4262 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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