mirror of
https://github.com/Cantera/cantera.git
synced 2026-08-14 06:54:57 -05:00
[CI] Ensure unregistered samples are tested
This commit is contained in:
committed by
Ray Speth
parent
d81cd762b3
commit
8c921a828c
@@ -249,6 +249,9 @@ jobs:
|
||||
run: |
|
||||
export DYLD_LIBRARY_PATH=build/lib
|
||||
python3 -m pytest -raP -v -n auto --durations=50 test/python
|
||||
- name: Build untested samples
|
||||
# Compile samples that are not registered as tests.
|
||||
run: scons samples
|
||||
- name: Upload shared library
|
||||
uses: actions/upload-artifact@v7
|
||||
if: matrix.python-version == '3.12'
|
||||
|
||||
@@ -224,6 +224,10 @@ Test('cxx-custom', 'cxx_samples', '#build/samples/cxx/custom/custom', None,
|
||||
Test('cxx-demo', 'cxx_samples', '#build/samples/cxx/demo/demo',
|
||||
'cxx_demo_blessed.txt',
|
||||
threshold=1e-10, tolerance=2e-4, slow=True)
|
||||
# Test is significantly slower than others
|
||||
Test('cxx-derivative-speed', 'cxx_samples',
|
||||
'#build/samples/cxx/jacobian/derivative_speed', None,
|
||||
options='--test h2o2', slow=True)
|
||||
Test('cxx-flamespeed', 'cxx_samples', '#build/samples/cxx/flamespeed/flamespeed',
|
||||
'cxx_flamespeed_blessed.txt',
|
||||
comparisons=[('flamespeed_blessed.csv', 'flamespeed.csv')],
|
||||
|
||||
Reference in New Issue
Block a user