Skip to content

Conversation

@RobinWieske
Copy link

This pr solves an issue where github redirected while the plugin tried to download the k6 binary by using curl instead of file_get_contents.

I had the issue several times while I tried to set up stress testing in my ci workflow. Github always redirected to https://objects.githubusercontent.com/<...>.

Please let me now if there is anything I need to adjust.

FYI:
composer test:types fails because of missing ./vendor/ergebnis/phpstan-rules/rules.neon (not required in composer.json) and even with it installed it fails with:

105    Method Pest\Stressless\Plugin::extractPayload() should return array<string, mixed> but returns array.

Makes use of `CURLOPT_FOLLOWLOCATION` to allow a redirect on github.
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

Successfully merging this pull request may close these issues.

1 participant