11#! /usr/bin/env bash
2- # MISE description="Run all tests (legacy SQL + SQLx Rust)"
3- # USAGE flag "--test <test>" help="Test to run" default="false"
2+ # MISE description="Run all tests (SQLx Rust)"
43# USAGE flag "--postgres <version>" help="PostgreSQL version to test against" default="17" {
54# USAGE choices "14" "15" "16" "17"
65# USAGE }
@@ -11,7 +10,7 @@ set -euo pipefail
1110POSTGRES_VERSION=${usage_postgres}
1211
1312echo " =========================================="
14- echo " Running Complete EQL Test Suite"
13+ echo " Running EQL Test Suite"
1514echo " PostgreSQL Version: $POSTGRES_VERSION "
1615echo " =========================================="
1716echo " "
@@ -26,21 +25,14 @@ mise run --output prefix build --force
2625# Run lints on sqlx tests
2726echo " "
2827echo " =============================================="
29- echo " 1/3 : Running linting checks on SQLx Rust tests"
28+ echo " 1/2 : Running linting checks on SQLx Rust tests"
3029echo " =============================================="
3130mise run --output prefix test:lint
3231
33- # Run legacy SQL tests
34- echo " "
35- echo " =============================================="
36- echo " 2/3: Running Legacy SQL Tests"
37- echo " =============================================="
38- mise run --output prefix test:legacy --postgres ${POSTGRES_VERSION}
39-
4032# Run SQLx Rust tests
4133echo " "
4234echo " =============================================="
43- echo " 3/3 : Running SQLx Rust Tests"
35+ echo " 2/2 : Running SQLx Rust Tests"
4436echo " =============================================="
4537mise run --output prefix test:sqlx
4638
@@ -51,6 +43,5 @@ echo "=============================================="
5143echo " "
5244echo " Summary:"
5345echo " ✓ SQLx Rust lint checks"
54- echo " ✓ Legacy SQL tests"
5546echo " ✓ SQLx Rust tests"
5647echo " "
0 commit comments