diff --git a/Taskfile.yml b/Taskfile.yml index fe6966653b..33f2391b95 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -694,11 +694,11 @@ tasks: -- -parallel 4 -timeout=12h integration-short: - desc: Run short integration tests + desc: Run integration tests except the slow ones (skips CloudSlow via -short) deps: [install-pythons] cmds: - | - DATABRICKS_TEST_SKIPLOCAL=1 VERBOSE_TEST=1 \ + VERBOSE_TEST=1 \ go run -modfile=tools/go.mod ./tools/testrunner/main.go \ {{.GO_TOOL}} gotestsum \ --format github-actions \ @@ -707,6 +707,20 @@ tasks: --packages "./acceptance ./integration/..." \ -- -parallel 4 -timeout=12h -short + integration-short-skiplocal: + desc: Run integration tests for PRs (skips CloudSlow and tests with testserver coverage) + deps: [install-pythons] + cmds: + - | + DATABRICKS_TEST_SKIPLOCAL=1 VERBOSE_TEST=1 \ + go run -modfile=tools/go.mod ./tools/testrunner/main.go \ + {{.GO_TOOL}} gotestsum \ + --format github-actions \ + --rerun-fails \ + --jsonfile output.json \ + --packages "./acceptance ./integration/..." \ + -- -parallel 4 -timeout=2h -short + dbr-integration: desc: Run DBR acceptance tests on Databricks Runtime deps: [install-pythons]