Skip to contents

Function adjust the number of samples depending on the test environment. On continuous integration it is limited to a random sample of combinations.

Usage

check_adjust_n_samples_on_CI(n_samples_requested, n_CI = 50)

Arguments

n_samples_requested

int Number of samples if the test do not run on continuous integration.

n_CI

int Number of samples if the test run on continuous integration.

Value

Returns an int depending on the test environment.