opensearch-project / opensearch-php

Official PHP Client for OpenSearch
Other
109 stars 58 forks source link

Improve the time taken by Github Actions on pull requests #126

Closed VachaShah closed 7 months ago

VachaShah commented 1 year ago

Coming from https://github.com/opensearch-project/opensearch-clients/issues/53, update the workflows to reduce the amount of time taken by Github actions for integration tests.

shyim commented 1 year ago

I took https://github.com/opensearch-project/opensearch-php/pull/108 as reference. A integration test takes like 1 minute to complete. Only the slow ones are Unreleased versions where we have to compile Java. I guess it's fine for this PHP SDK

VachaShah commented 1 year ago

@shyim Sorry I meant using the Github cache and improving the logic for docker images to reduce the time for integration tests against unreleased versions. Would we not need to do that for the PHP client?

dblock commented 7 months ago

In #180 integration tests cache the min distribution and are now fast.