From fbbe07fb25d910c59f872f1d39d620cbb727c7f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20M=C3=BCller?= Date: Wed, 18 Dec 2024 14:45:12 +0000 Subject: [PATCH] xxx-debug-ci --- .github/workflows/test.yml | 10 ++-------- substrait_consumer/functional/common.py | 2 ++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d49e9651..d292d0d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,11 +26,8 @@ jobs: - name: Install Python dependencies run: pip install -r requirements.txt - - name: Run functions tests - run: pytest -v -m consume_substrait_snapshot --consumer=${{ matrix.consumer }} substrait_consumer/tests/functional/extension_functions - - name: Run relations tests - run: pytest -v -m consume_substrait_snapshot --consumer=${{ matrix.consumer }} substrait_consumer/tests/functional/relations + run: pytest -v -m consume_substrait_snapshot --consumer=${{ matrix.consumer }} substrait_consumer/tests/functional/relations -k duckdb_read_local_file producers: name: Run producer tests @@ -78,11 +75,8 @@ jobs: mkdir ./jars cp substrait-java/isthmus/build/libs/*all.jar ./jars - - name: Run functions tests - run: pytest -v -m produce_substrait_snapshot --producer=${{ matrix.producer }} substrait_consumer/tests/functional/extension_functions - - name: Run relations tests - run: pytest -v -m produce_substrait_snapshot --producer=${{ matrix.producer }} substrait_consumer/tests/functional/relations + run: pytest -v -m produce_substrait_snapshot --producer=${{ matrix.producer }} substrait_consumer/tests/functional/relations -k duckdb_read_local_file - name: Run Ibis expression tests if: ${{ matrix.producer == 'ibis' }} diff --git a/substrait_consumer/functional/common.py b/substrait_consumer/functional/common.py index a2489e03..c368b1d6 100644 --- a/substrait_consumer/functional/common.py +++ b/substrait_consumer/functional/common.py @@ -137,6 +137,7 @@ def generate_snapshot_results( try: duckdb_result = producer.run_sql_query(sql_query[0]) except BaseException as e: + raise e record_property("outcome", str(type(e))) snapshot.assert_match(str(type(e)), outcome_path) return @@ -378,6 +379,7 @@ def substrait_consumer_sql_test( try: actual_result = consumer.run_substrait_query(substrait_plan) except BaseException as e: + raise e record_property("outcome", str(type(e))) snapshot.assert_match(str(type(e)), outcome_path) return