-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run tests on GitHub CI #62
Comments
@nrgbistro did you ever figure this out? |
No I haven't, I'm currently sticking with |
@nrgbistro have you tried using |
I just tried using
It doesn't seem to ever increment the database number on CI. Any ideas on how to debug that specific behavior? |
After significant headache, I've settled on a more manual approach to this:
This works as expected when running |
@nrgbistro sorry, it's hard to help without more info about your setup. I did want to suggest one thing based on your last comment though to confirm. Did you end up trying For example, in one project, this is what I use to prep and run turbo_tests in CI:
You did update your config/database.yml file so the test database name includes I'd advise against using spring nowadays. I removed it shortly after adding turbo_tests, for what its worth. Although the primary reason for that was when upgrading Rails due to Zeitwerk. |
I'm trying to run
turbo_tests
on my Ruby project, which requires a postgresql database running, one for each parallel tester. It seems that runningbin/rails parallel:create
does not properly set theTEST_ENV_NUMBER
environment variable in GitHub CI, as the output from the command is:When I run locally, I get
test_database1
andtest_database2
. I've made sure to setPARALLEL_TEST_FIRST_IS_1=true
, but even without that the second database name should betest_database2
. Could someone help me run this test suite on in a GitHub action workflow? I would prefer not to use a matrix.The text was updated successfully, but these errors were encountered: