# Run the producer tests to create the pytest result output.
pytest -v --tb=no \
-m produce_substrait_snapshot \
-k "function/ or ibis_expressions" \
substrait_consumer/ \
--csv producer_pytest_output.csv --csv-delimiter ';' \
--csv-columns 'id,status,properties_as_columns'
# Parse pytest output. This creates a new csv file with the parsed results, which
# the streamlit app uses to generate the table.
python scripts/parse_producer_pytest_output.py producer_results.csv
Substrait Producer x Substrait Consumer x Function
# Run the consumer tests to create the pytest result output.
pytest -v --tb=no \
-m consume_substrait_snapshot \
-k "function/ or ibis_expressions" \
substrait_consumer/ \
--csv consumer_pytest_output.csv --csv-delimiter ';' \
--csv-columns 'id,status,properties_as_columns'
# Parse pytest output. This creates a new csv file with the parsed results, which
# the streamlit app uses to generate the table.
python scripts/parse_consumer_pytest_output.py consumer_results.csv