Getting the following error in my github actions on push:
Run bin/rails db:test:prepare test
bin/rails aborted!
URI::InvalidComponentError: bad component(expected absolute path component): _cache (URI::InvalidComponentError)
My ci.yml is as follows for run tests:
- name: Run tests
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432
# REDIS_URL: redis://localhost:6379/0
run: bin/rails db:test:prepare test
I have an API only rails app if that helps? First time doing this.