Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/test-complete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,15 @@ jobs:
- name: Build SQL CLI
run: cargo build --release

# data/test_simple_*.csv are generated, not committed (.gitignore's
# `test_*.csv` rule covers them), so several examples that pass locally
# fail here without this. Mirrors the same step in the Python Tests job.
- name: Generate test data
run: |
if [ ! -f "data/test_simple_math.csv" ] || [ ! -f "data/test_simple_strings.csv" ]; then
uv run python scripts/generate_simple_test.py
fi

- name: Run examples test suite
run: |
uv run python tests/integration/test_examples.py
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ trades_*.json
trades_*.csv
test_shift_g.rs
test_*.csv
# ...but this one is a hand-written fixture used by examples/, not
# generated output, so it has to ship with the repo (see CI examples job).
!data/test_dummy.csv
test_state_comparison
test_results.txt
tests/__pycache__/
Expand Down
3 changes: 3 additions & 0 deletions data/test_dummy.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
id,price,category,status
1,99.99,A,active
2,150.50,B,pending
Loading