• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gluesql / gluesql-logic-test / 16564931367
62%

Build:
DEFAULT BRANCH: main
Ran 28 Jul 2025 09:13AM UTC
Jobs 1
Files 10
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jul 2025 09:07AM UTC coverage: 64.65% (-21.3%) from 85.928%
16564931367

push

github

web-flow
feat: introduce `gluesql-logic-test` script (#10)

This pull request introduces a CLI tool, cargo run --bin gluesql-logic-test, to run sqllogictest testcases. With this, we now have feedback loop to complement GlueSQL more! This tool just runs with in-memory storage backend now, but the next PR may support other storage backends too (e.g., CSV, JSON, etc)

```
$ cargo run --bin gluesql-logic-test -- slt/random/expr
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
     Running `target/debug/gluesql-logic-test slt/random/expr --verbose`
Found 120 test files
Running test: slt/random/expr/slt_good_0.test
✗ slt/random/expr/slt_good_0.test - Error: query result mismatch:
[SQL] SELECT 20 / - - 96 + CAST ( 90 AS INTEGER ) AS col2
[Diff] (-expected|+actual)
-   90
+   90.20833333333333
at slt/random/expr/slt_good_0.test:46

Error: query result mismatch:
[SQL] SELECT 20 / - - 96 + CAST ( 90 AS INTEGER ) AS col2
[Diff] (-expected|+actual)
-   90
+   90.20833333333333
at slt/random/expr/slt_good_0.test:46
```


* chore: bump dependencies

* feat: implement gluesql-logic-test

* fix: ignore trailing comments

* fix: ignore trailing comments when running single file too

* fix: infer result's types

* docs: complement README.md

* chore: remove unintended file

* fix: apply cargo-clippy suggestions

* refactor: remove duplicated logic

* chore: bump GlueSQL to HEAD

* fix: use value-wise style sql-result validator

* feat: provide `--fail-fast` option

* fix: correct regex

* chore: introduce helper Python script

* fix: apply cargo-clippy suggestions

171 of 300 new or added lines in 4 files covered. (57.0%)

342 of 529 relevant lines covered (64.65%)

101.05 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
94.23
crates/logic-test/tests/integration.rs
40
76.61
-9.25% crates/logic-test/src/db/gluesql.rs
86
0.0
crates/logic-test/src/bin/gluesql-logic-test.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/169107623 16564931367.1 28 Jul 2025 09:13AM UTC 10
64.65
GitHub Action Run
Source Files on build 16564931367
  • Tree
  • List 10
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3ccf0a1f on github
  • Prev Build on main (#4518760415)
  • Next Build on main (#16701503109)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc