komga/test-postgresql.sh
duong.doan1 29692c738b feat: Complete Sprint 1 PostgreSQL infrastructure
- Add flyway-database-postgresql dependency
- Create DatabaseUdfProvider abstraction with SQLite/PostgreSQL implementations
- Update all DAO classes to use JooqUdfHelper for database-agnostic UDF/collation
- Implement dynamic JOOQ dialect configuration based on database type
- Add PostgreSQL migration directory with initial migration
- Create Docker Compose setup for PostgreSQL 16
- Add integration test with Testcontainers PostgreSQL
- Create helper scripts for local testing
- Update application.yml for simplified testing
- Add documentation and task tracking
2026-04-07 14:09:19 +07:00

14 lines
No EOL
323 B
Bash
Executable file

#!/bin/bash
# Script to test Komga with PostgreSQL using Testcontainers
echo "Building Komga..."
./gradlew :komga:build -x test
echo "Running tests with PostgreSQL..."
./gradlew :komga:test --tests "*PostgreSQL*" --info
echo "Running integration tests..."
./gradlew :komga:integrationTest --info
echo "Test completed!"