Skip to content

Commit

Permalink
Add option to run Spark tests only (#3377)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite authored Aug 14, 2017
1 parent c655fef commit d4f2fce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ source("scripts/install_R_packages.R")
* Test report is in `build/reports/tests/test/index.html`.
* What will happen depends on the value of the `TEST_TYPE` environment variable:
* unset or any other value : run non-cloud unit and integration tests, this is the default
* `cloud`, `unit`, `integration` : run only the cloud, unit, or integration tests
* `cloud`, `unit`, `integration`, `spark` : run only the cloud, unit, integration, or Spark tests
* `all` : run the entire test suite
* Cloud tests require being logged into `gcloud` and authenticated with a project that has access
to the cloud test data. They also require setting several certain environment variables.
Expand Down
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ test {
} else if (TEST_TYPE == "unit") {
exclude "**/*IntegrationTest.class"
excludeGroups "cloud", "bucket"
} else if (TEST_TYPE == "spark") {
includeGroups "spark"
excludeGroups "cloud", "bucket"
} else if (TEST_TYPE == "all"){
//include everything
} else {
Expand Down

0 comments on commit d4f2fce

Please sign in to comment.