Remove configuration alteration for testing stage from ncc_workflow.yml
This commit is contained in:
parent
7909e01a0a
commit
ba47ac3906
1 changed files with 1 additions and 15 deletions
16
.github/workflows/ncc_workflow.yml
vendored
16
.github/workflows/ncc_workflow.yml
vendored
|
@ -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,12 +366,6 @@ 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"
|
||||
|
||||
# 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
|
||||
docker-compose -f docker-compose.test.yml down
|
||||
|
|
Loading…
Add table
Reference in a new issue