mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-26 00:45:41 +00:00
28 lines
480 B
Bash
Executable File
28 lines
480 B
Bash
Executable File
#!/usr/bin/env bats
|
|
|
|
NOCO_HOME="./nocodb"
|
|
export NOCO_HOME
|
|
|
|
|
|
|
|
setup() {
|
|
cd "${WORKING_DIR}/configure" || exit 1
|
|
./setup.sh "setup"
|
|
}
|
|
|
|
teardown() {
|
|
cd "${WORKING_DIR}/configure" || exit 1
|
|
./setup.sh
|
|
}
|
|
|
|
@test "Properly runs monitor script" {
|
|
../expects/configure/restart.sh
|
|
|
|
cd "${NOCO_HOME}" || exit 1
|
|
|
|
# Verify container is running
|
|
docker compose ps | grep -q 'redis'
|
|
docker compose ps | grep -q 'watchtower'
|
|
docker compose ps | grep -q 'nocodb'
|
|
}
|