Skip to content

Commit 995002a

Browse files
committed
CI: Add konsist jon on ci
FYI: This change includes adding this extra script related '-x libs:konsist-test:testDebugUnitTest' configuration on unit tests so that 'Konsist' tests are excluded from running as part of all the other "normal" unit tests.
1 parent 335c919 commit 995002a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.buildkite/commands/run-unit-tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ bundle exec fastlane run configure_apply
1010

1111
echo "--- 🧪 Testing"
1212
set +e
13-
./gradlew testJalapenoDebugUnitTest testDebugUnitTest
13+
./gradlew testJalapenoDebugUnitTest testDebugUnitTest -x libs:konsist-test:testDebugUnitTest
1414
TESTS_EXIT_STATUS=$?
1515
set -e
1616

.buildkite/pipeline.yml

+7
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ steps:
3434
agents:
3535
queue: "linter"
3636

37+
- label: "konsist"
38+
command: ./gradlew konsist
39+
plugins: [$CI_TOOLKIT]
40+
artifact_paths:
41+
- "**/build/reports/tests/**/*"
42+
- "**/build/test-results/*/*.xml"
43+
3744
- label: "detekt"
3845
command: ./gradlew detektAll
3946
plugins: [$CI_TOOLKIT]

0 commit comments

Comments
 (0)