Skip to content
Snippets Groups Projects
Commit a44fd014 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.12).

parent 481235e1
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 #233379 failed
......@@ -22,8 +22,9 @@ php-image-build:
- cat ${phpunit} > phpunit.xml
#- docker volume create phpunit_volume
#- docker run "$IMAGE_PHP" -v phpunit_volume:/var/www/tms/
- docker cp phpunit.xml $(docker create "$IMAGE_PHP"):/var/www/tms/phpunit.xml
- docker start "$IMAGE_PHP" # docker run (-i) turn indefinitely
- docker run -d "$IMAGE_PHP"
#- docker cp phpunit.xml $(docker create "$IMAGE_PHP"):/var/www/tms/phpunit.xml
- docker cp phpunit.xml "$IMAGE_PHP":/var/www/tms/phpunit.xml # 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"
......
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