-
Notifications
You must be signed in to change notification settings - Fork 96
/
test-local.sh
executable file
·60 lines (40 loc) · 1.68 KB
/
test-local.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
EXIT_STATUS=0
./gradlew --refresh-dependencies || EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]; then
exit $EXIT_STATUS
fi
./gradlew checkstyleMain --parallel --rerun-tasks || EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]; then
exit $EXIT_STATUS
fi
PREDICTIVE_TEST_SELECTION=false ./gradlew :starter-core:build --parallel --rerun-tasks || EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]; then
exit $EXIT_STATUS
fi
PREDICTIVE_TEST_SELECTION=false ./gradlew check --no-build-cache --continue -x test-aws:test -x test-buildtool:test -x test-cli:test -x test-cloud:test -x test-core:test -x test-features:test || EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]; then
exit $EXIT_STATUS
fi
PREDICTIVE_TEST_SELECTION=false ./gradlew test-aws:test --no-build-cache --parallel --rerun-tasks || EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]; then
exit $EXIT_STATUS
fi
PREDICTIVE_TEST_SELECTION=false ./gradlew test-buildtool:test --no-build-cache --parallel --rerun-tasks || EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]; then
exit $EXIT_STATUS
fi
PREDICTIVE_TEST_SELECTION=false ./gradlew test-cli:test --no-build-cache --parallel --rerun-tasks || EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]; then
exit $EXIT_STATUS
fi
PREDICTIVE_TEST_SELECTION=false ./gradlew test-cloud:test --no-build-cache --parallel --rerun-tasks || EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]; then
exit $EXIT_STATUS
fi
PREDICTIVE_TEST_SELECTION=false ./gradlew test-core:test --no-build-cache --parallel --rerun-tasks || EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]; then
exit $EXIT_STATUS
fi
PREDICTIVE_TEST_SELECTION=false ./gradlew test-features:test --no-build-cache --parallel --rerun-tasks || EXIT_STATUS=$?
exit $EXIT_STATUS