When a test run begins, you can use the database as normal via DATABASE_URL or REDIS_URL as appropriate. These urls will point to your locally installed database.
I don’t use heroku CI - so let’s figure out the issue first - if it continues to fail, maybe create a minimum github repo with one test - that fails to test on heroku CI - and I can give it a try…
only thing that pops out is that DB config - that really shouldn’t work against localhost…