Run RSpec tests on multiple cores. Like parallel_tests but with incremental summarized output. Originally extracted from the Discourse and Rubygems source code.
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 running bin/rails parallel:create does not properly set the TEST_ENV_NUMBER environment variable in GitHub CI, as the output from the command is:
When I run locally, I get test_database1 and test_database2. I've made sure to set PARALLEL_TEST_FIRST_IS_1=true, but even without that the second database name should be test_database2. Could someone help me run this test suite on in a GitHub action workflow? I would prefer not to use a matrix.
No I haven't, I'm currently sticking with rspec for my CI. This would be nice to have but isn't a priority for me now. Let me know if you figure it out.
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.