Skip to content

Commit

Permalink
xxx-debug-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ingomueller-net committed Dec 18, 2024
1 parent 1f782e3 commit fbbe07f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' }}
Expand Down
2 changes: 2 additions & 0 deletions substrait_consumer/functional/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fbbe07f

Please sign in to comment.