Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffbaf61 commit f68a190Copy full SHA for f68a190
scripts/run_tests_local.sh
@@ -18,10 +18,14 @@
18
# This script is a helper script for running tests with
19
# .kokoro/trampoline_v2.sh.
20
# run_tests_local.sh directory (sessions..)
21
+#
22
+# Example for running lint, py-3.6 and py-3.7 for cdn directory:
23
+# $ cd cdn
24
+# $ ../scripts/run_tests_local.sh .
25
26
set -euo pipefail
27
-sessions=(
28
+default_sessions=(
29
"lint"
30
"py-3.6"
31
"py-3.7"
@@ -56,6 +60,8 @@ fi
56
60
57
61
if [[ $# -ge 2 ]]; then
58
62
sessions=("${@:2}")
63
+else
64
+ sessions=("${default_sessions[@]}")
59
65
fi
66
67
echo "Running tests for directory: ${directory}"
0 commit comments