Skip to content

Commit d5afc7c

Browse files
authored
Switch continuous tests to only test changed files. (GoogleCloudPlatform#3339)
* Switch continous tests to only test changes. * Match flag to files. * Update comments. * Fix typo.
1 parent 2b40ca0 commit d5afc7c

File tree

13 files changed

+42
-21
lines changed

13 files changed

+42
-21
lines changed

.kokoro/lint/continuous.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
# Tell the trampoline which build file to use.
1818
env_vars: {
1919
key: "TRAMPOLINE_BUILD_FILE"
20-
value: "github/python-docs-samples/.kokoro/tests/run_tests.sh"
20+
value: "github/python-docs-samples/.kokoro/tests/run_tests_diff_head.sh"
2121
}

.kokoro/lint/presubmit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
# Tell the trampoline which build file to use.
1818
env_vars: {
1919
key: "TRAMPOLINE_BUILD_FILE"
20-
value: "github/python-docs-samples/.kokoro/tests/run_tests_only_diff.sh"
20+
value: "github/python-docs-samples/.kokoro/tests/run_tests_diff_master.sh"
2121
}

.kokoro/python2.7/continuous.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
# Tell the trampoline which build file to use.
1818
env_vars: {
1919
key: "TRAMPOLINE_BUILD_FILE"
20-
value: "github/python-docs-samples/.kokoro/tests/run_tests.sh"
20+
value: "github/python-docs-samples/.kokoro/tests/run_tests_diff_head.sh"
2121
}

.kokoro/python2.7/presubmit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
# Tell the trampoline which build file to use.
1818
env_vars: {
1919
key: "TRAMPOLINE_BUILD_FILE"
20-
value: "github/python-docs-samples/.kokoro/tests/run_tests_only_diff.sh"
20+
value: "github/python-docs-samples/.kokoro/tests/run_tests_diff_master.sh"
2121
}

.kokoro/python3.6/continuous.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
# Tell the trampoline which build file to use.
1818
env_vars: {
1919
key: "TRAMPOLINE_BUILD_FILE"
20-
value: "github/python-docs-samples/.kokoro/tests/run_tests.sh"
20+
value: "github/python-docs-samples/.kokoro/tests/run_tests_diff_head.sh"
2121
}

.kokoro/python3.6/presubmit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
# Tell the trampoline which build file to use.
1818
env_vars: {
1919
key: "TRAMPOLINE_BUILD_FILE"
20-
value: "github/python-docs-samples/.kokoro/tests/run_tests_only_diff.sh"
20+
value: "github/python-docs-samples/.kokoro/tests/run_tests_diff_master.sh"
2121
}

.kokoro/python3.7/continuous.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
# Tell the trampoline which build file to use.
1818
env_vars: {
1919
key: "TRAMPOLINE_BUILD_FILE"
20-
value: "github/python-docs-samples/.kokoro/tests/run_tests.sh"
20+
value: "github/python-docs-samples/.kokoro/tests/run_tests_diff_head.sh"
2121
}

.kokoro/python3.7/presubmit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
# Tell the trampoline which build file to use.
1818
env_vars: {
1919
key: "TRAMPOLINE_BUILD_FILE"
20-
value: "github/python-docs-samples/.kokoro/tests/run_tests_only_diff.sh"
20+
value: "github/python-docs-samples/.kokoro/tests/run_tests_diff_master.sh"
2121
}

.kokoro/python3.8/continuous.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
# Tell the trampoline which build file to use.
1818
env_vars: {
1919
key: "TRAMPOLINE_BUILD_FILE"
20-
value: "github/python-docs-samples/.kokoro/tests/run_tests.sh"
20+
value: "github/python-docs-samples/.kokoro/tests/run_tests_diff_head.sh"
2121
}

.kokoro/python3.8/presubmit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
# Tell the trampoline which build file to use.
1818
env_vars: {
1919
key: "TRAMPOLINE_BUILD_FILE"
20-
value: "github/python-docs-samples/.kokoro/tests/run_tests_only_diff.sh"
20+
value: "github/python-docs-samples/.kokoro/tests/run_tests_diff_master.sh"
2121
}

0 commit comments

Comments
 (0)