Closed gazzoy closed 10 months ago
Where do you want to run tests, local or GitHub actions?
Thanks for you reply. On local. Actually I've just found the way to run GitHub Actions on my local. Is this the right way supposed to be?
On local.
git clone git@github.com:<your-name>/laravel-scout-opensearch.git
cd laravel-scout-opensearch
composer update
composer check-platform-reqs
Add new features and test cases
Start the OpenSearch service via docker
docker run -d -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "plugins.security.disabled=true" opensearchproject/opensearch:latest
./vendor/bin/phpunit
run GitHub Actions on my local. Is this the right way supposed to be?
I haven't used GitHub's self-hosted runners before, so it's hard to say it's the right way or not.
Thank you it works perfectly!
Maybe that would be great if you put those test steps on README.md.
I see, I will put those test steps on README.md as soon as possible.
First of all, thank you for the wonderful package.
This is a question rather than a feature request. I forked this package to add some new features for my project, then did'nt get how to run tests.
Could you please tell me how to run tests for this package?