Hi. Help me please anybody.
I try to use pipeline to use phpunit.
This is my pipeline
image: phpunit/phpunit:5.0.3
pipelines:
default:
- step:
script: - phpunit tests/phpunit.xml
But i reseive next error: + phpunit tests/phpunit.xml
PHPUnit 5.0.10 by Sebastian Bergmann and contributors.
Cannot open file "/opt/atlassian/pipelines/agent/build/app/vendor/autoload.php".
Explain this message for me please.
Hi @v_ivanidi ,
Thank you for your question!
Try to use the next pipeline:
image: php:7.3
pipelines:
default:
- step:
name: Test
image: phpunit/phpunit
script:
- docker run -v $(pwd):/app --rm phpunit/phpunit test
services:
- docker
- step:
name: Lint
script:
- find . -name '*.php' -exec php -l {} \;
Hi Oleksandr!
Thanks for you help.
I tried your sample, but the error persists.
Cannot open file "/app/app/vendor/autoload.php"
Can you help me again pls.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.