Skip to content
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

Tests: Support running only a subset of the test suites #1021

Merged
merged 1 commit into from Jul 28, 2020

Commits on Jul 28, 2020

  1. Tests: Support running only a subset of the test suites

    Before `make test` ran all unit test suites against all stacks, which
    would take up to an hour locally. This could be sped up by using one of
    the stack-specific targets (such as `make test-heroku-18`), however
    there was still no way to only run one of the test suites.
    
    Now `make test` can be controlled more precisely using optional `STACK`
    and `TEST_CMD` arguments, eg:
    
    `make test STACK=heroku-16 TEST_CMD=test/versions`
    
    Travis has now been made to use this feature, which unblocks future
    Travis speedups (such as splitting the jobs up further in #1018) and
    means on Travis the correct Docker image is now used.
    
    The `tests.sh` script has been removed since it's unused after #839 and
    redundant given the make targets.
    
    Fixes #958.
    Fixes #1020.
    edmorley committed Jul 28, 2020
    Copy the full SHA
    6c91739 View commit details
    Browse the repository at this point in the history