Skip to content

Unable to run tests on GitHub CI #62

Open
@nrgbistro

Description

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:

Database 'test_database' already exists
Database 'test_database' already exists

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions