alleyinteractive / .github

https://alley.com
1 stars 1 forks source link

Feature: support object cache services conditionally #81

Closed renatonascalves closed 5 months ago

renatonascalves commented 5 months ago

Supports redis and memcached.

The way I'm adding the services conditionally is necessary until Github suports it properly. See https://github.com/actions/runner/issues/822

I tested this in two projects.

Here is one example where I used memcached to skip some unit tests: https://github.com/alleyinteractive/wp-404-caching/actions/runs/8515841284/job/23323992799

Here is another one to test redis and memcached: https://github.com/alleyinteractive/mantle-framework/actions/runs/8515744271/job/23323736947

See how this test works without redis.

CleanShot 2024-04-01 at 22 07 10@2x

fixes #55 fixes #46