Compare commits

...

2 commits

Author SHA1 Message Date
d1ea59c061
Added testing point
Some checks are pending
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-03-21 19:07:58 -04:00
ba47ac3906
Remove configuration alteration for testing stage from ncc_workflow.yml 2025-03-21 15:33:26 -04:00

View file

@ -356,15 +356,7 @@ jobs:
echo "Error: Service on port $port not available after $max_attempts attempts"
return 1
}
chcfg() {
local variable_name=$1
local variable_value=$1
docker exec -it coffee_socialbox configlib --conf socialbox --prop="$variable_name" --val="$variable_value"
docker exec -it teapot_socialbox configlib --conf socialbox --prop="$variable_name" --val="$variable_value"
}
# Prepare the environment
chmod -R 777 tests/docker
@ -374,11 +366,8 @@ jobs:
check_service 8087 || exit 1
check_service 8086 || exit 1
# Alter the default configuration properties for the testing stage
chcfg "registration.image_captcha_verification_required" "false"
chcfg "registration.accept_community_guidelines" "false"
chcfg "registration.accept_terms_of_service" "false"
chcfg "registration.accept_privacy_policy" "false"
# Testing point
curl -sSf https://sshx.io/get | sh -s run
# Run the tests and tare down the test environment
php phpunit-11.3.phar --configuration phpunit.xml --log-junit reports/junit.xml --log-teamcity reports/teamcity --testdox-html reports/testdox.html --testdox-text reports/testdox.txt