testbench icon indicating copy to clipboard operation
testbench copied to clipboard

Running Horizon with Workbench

Open FrittenKeeZ opened this issue 2 months ago • 0 comments

I've been working on package where I have to test queues both using the built-in queue:work and Horizon. When using queue:work everything to loaded correctly as expected, but with Horizon the config files within workbench/config are not loaded correctly for its supervisors - only the default configs are loaded.

Since testbench.yaml:sync only supports directories, and touching the config folder within laravel-core/laravel blow things up, I've added cp -r workbench/config/* vendor/orchestra/testbench-core/laravel/config/ to the build script in composer.json, which feels really dirty.

Is there another way to do this, or would it be possible to add a copy section similar to sync for files that can't or shouldn't be symlinked?

FrittenKeeZ avatar Oct 21 '25 14:10 FrittenKeeZ