Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example tests, that can be run by Heroku CI #53

Open
edmorley opened this issue Sep 28, 2021 · 2 comments
Open

Add example tests, that can be run by Heroku CI #53

edmorley opened this issue Sep 28, 2021 · 2 comments

Comments

@edmorley
Copy link
Member

I tried enabling Heroku CI on a Heroku pipeline linked to this repository, however the CI run failed with:

-----> Running PHP buildpack tests...
realpath: vendor/bin: No such file or directory
Trying to auto-detect test framework; first match will be found. You may use composer script 'test', or app.json, to specify what to run.
No tests found. Please use composer script 'test', or app.json, to specify what to run.
-----> PHP buildpack tests failed with exit status 1

(see https://dashboard.heroku.com/pipelines/fd8213bf-4356-40a1-aab8-c7042a64713e/tests/1)

I think it would be useful to add some example tests to this repo, since:

  1. It gives people something on which they can base their own tests
  2. They can help verify the correctness of this example project, so we're not just relying on Review Apps.
@edmorley
Copy link
Member Author

cc @dzuelke

@dzuelke
Copy link
Contributor

dzuelke commented May 31, 2024

FWIW, the error message is not the cause for no tests being found (it's due to the cwd being the buildpack dir when the .profile.d scripts get executed).

@edmorley edmorley mentioned this issue Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants