Skip to content
Snippets Groups Projects
Commit 481235e1 authored by ZZZ[GONE] PERRIER Guillaume's avatar ZZZ[GONE] PERRIER Guillaume
Browse files

[PHP-UNIT] Try fixing test failure 'The current node list is empty' (v1.11).

parent 84d892a2
No related branches found
No related tags found
1 merge request!6[PHP-UNIT] Complete performing CI test within the container and use it for...
Pipeline #233355 failed
......@@ -20,10 +20,11 @@ php-image-build:
script:
- docker build --pull -t "$IMAGE_PHP" -f ./docker/php-fpm/Dockerfile .
- cat ${phpunit} > phpunit.xml
- docker volume create phpunit_volume
#- docker volume create phpunit_volume
#- docker run "$IMAGE_PHP" -v phpunit_volume:/var/www/tms/
- docker run -i "$IMAGE_PHP" # docker run turn indefinitely
- docker cp phpunit.xml "$IMAGE_PHP":/var/www/tms/phpunit.xml
- docker cp phpunit.xml $(docker create "$IMAGE_PHP"):/var/www/tms/phpunit.xml
- docker start "$IMAGE_PHP" # docker run (-i) turn indefinitely
#- docker cp phpunit.xml "$IMAGE_PHP":/var/www/tms/phpunit.xml
#- docker exec -v phpunit_volume sh -c "cd /var/www/tms/ ; vendor/bin/phpunit --configuration phpunit.xml"
- docker exec -it "$IMAGE_PHP" sh -c "cd /var/www/tms/ ; vendor/bin/phpunit --configuration phpunit.xml"
- docker exec -it "$IMAGE_PHP" rm /var/www/tms/phpunit.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment