added initial roadmap and implementation
This commit is contained in:
12
tests/integration/run_tests.sh
Executable file
12
tests/integration/run_tests.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Setup Database
|
||||
echo "Setting up test database (applying migrations)..."
|
||||
# Concatenate all migrations and setup script
|
||||
cat migrations/*.sql tests/integration/setup_db.sql | podman exec -i madbase_db psql -U postgres -d postgres
|
||||
|
||||
# Run Tests
|
||||
echo "Running integration tests..."
|
||||
cd tests/integration
|
||||
npm test
|
||||
Reference in New Issue
Block a user