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

Running php artisan enlighten on our CI jobs #61

Open
mehrancodes opened this issue Jun 21, 2021 · 1 comment
Open

Running php artisan enlighten on our CI jobs #61

mehrancodes opened this issue Jun 21, 2021 · 1 comment

Comments

@mehrancodes
Copy link

Is your feature request related to a problem? Please describe.
I already have Enlighten fully set up and the documentation's getting generated well.
As a team, we always have to run the enlighten on the local and do export and commit all of the changes to the git. so the clients can see the docs on the web.

Recently I have tried to run the tests on our GitLab CI and upload the enlighten database to our server after a complete full test run, but the problem is that our CI job does not recognize the failed stopped test when using command php artisan enlighten, and shows the CI job as passed. while it should show not passed.

I wonder if we can use ./vendor/bin/phpunit as it let the CI job get flagged as not passed when a test fails. Or find a way to do the same on the enlighten command.

@MostafaRabia
Copy link
Contributor

You can use php artisan enlighten --stop-on-failure that would make job failed
I'm using it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants