mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-06 17:15:38 -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
|
||||
run: |
|
||||
echo "🐳 Running Docker-based tests..."
|
||||
chmod +x ./run_docker_tests.sh
|
||||
./run_docker_tests.sh
|
||||
chmod +x ./test/docker_tests/run_docker_tests.sh
|
||||
./test/docker_tests/run_docker_tests.sh
|
||||
|
||||
@@ -26,7 +26,7 @@ if pgrep -f "supercronic" > /dev/null; then
|
||||
else
|
||||
log_error "supercronic is not running"
|
||||
fi
|
||||
docker inspect --format='{{json .State.Health}}'
|
||||
|
||||
# 2. Check if php-fpm is running
|
||||
if pgrep -f "php-fpm" > /dev/null; then
|
||||
log_success "php-fpm is running"
|
||||
|
||||
Reference in New Issue
Block a user