You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only have phpunit globally available in PATH (for me this is in ~/bin/phpunit)
Have docker installed on your machine
Try to run tests with the extension
Outcome
Test run failed with output:
* Executing task: docker run --rm -t -v ${pwd}:/app -w /app php php phpunit --colors=always --filter 'MathExpressionTest' '/app/modules/tests/MathExpressionTest.php'
docker: invalid spec: :/app: empty section between colons.
See 'docker run --help'.
* The terminal process "/bin/zsh '-l', '-c', 'docker run --rm -t -v ${pwd}:/app -w /app php php phpunit --colors=always --filter 'MathExpressionTest' '/app/modules/tests/MathExpressionTest.php''" failed to launch (exit code: 125).
* Terminal will be reused by tasks, press any key to close it.
Expected outcome
Tests run successfully given I have php and phpunit globally available.
OR the docker command executes successfully, that would also work - but I would kind of expect global values to be used before docker. Especially since I see that some docker config is deprecated.
Logs / output / settings
Settings all at default if you applied #116, otherwise, you need to set ComposerDriver to the end of the order.
Repro
~/bin/phpunit
)Outcome
Test run failed with output:
Expected outcome
Tests run successfully given I have php and phpunit globally available.
OR the docker command executes successfully, that would also work - but I would kind of expect global values to be used before docker. Especially since I see that some docker config is deprecated.
Logs / output / settings
Settings all at default if you applied #116, otherwise, you need to set ComposerDriver to the end of the order.
…
The text was updated successfully, but these errors were encountered: