mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
docker tests
This commit is contained in:
4
.github/workflows/code_checks.yml
vendored
4
.github/workflows/code_checks.yml
vendored
@@ -95,5 +95,5 @@ jobs:
|
|||||||
- name: Run Docker-based tests
|
- name: Run Docker-based tests
|
||||||
run: |
|
run: |
|
||||||
echo "🐳 Running Docker-based tests..."
|
echo "🐳 Running Docker-based tests..."
|
||||||
chmod +x ./run_docker_tests.sh
|
chmod +x ./test/docker_tests/run_docker_tests.sh
|
||||||
./run_docker_tests.sh
|
./test/docker_tests/run_docker_tests.sh
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ if pgrep -f "supercronic" > /dev/null; then
|
|||||||
else
|
else
|
||||||
log_error "supercronic is not running"
|
log_error "supercronic is not running"
|
||||||
fi
|
fi
|
||||||
docker inspect --format='{{json .State.Health}}'
|
|
||||||
# 2. Check if php-fpm is running
|
# 2. Check if php-fpm is running
|
||||||
if pgrep -f "php-fpm" > /dev/null; then
|
if pgrep -f "php-fpm" > /dev/null; then
|
||||||
log_success "php-fpm is running"
|
log_success "php-fpm is running"
|
||||||
|
|||||||
Reference in New Issue
Block a user