Skip to content

Commit 64d880b

Browse files
authored
Merge pull request #31 from superus8r/DROID-13_Fix_Sonar_Source_Paths
2 parents fbd7212 + 627b03e commit 64d880b

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
name: Fastlane - run all tests with coverage report
5555
command: |
5656
bundle exec fastlane testDev
57+
bundle exec fastlane lint
5758
- save_gradle_cache
5859
- save_bundler_cache
5960
- run:

app/src/androidTest/java/org/kabiri/android/usbterminal/MainActivityTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import org.junit.runner.RunWith
1313

1414

1515
@RunWith(AndroidJUnit4::class)
16-
class MainActivityTest {
16+
internal class MainActivityTest {
1717

1818
@get:Rule
1919
var rule = activityScenarioRule<MainActivity>()

app/src/androidTest/java/org/kabiri/android/usbterminal/data/repository/UserSettingRepositoryAndroidTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import org.kabiri.android.usbterminal.model.UserSettingPreferences
2020

2121
private const val TEST_DATA_STORE_NAME = "test_data_store"
2222
@RunWith(AndroidJUnit4::class)
23-
class UserSettingRepositoryAndroidTest {
23+
internal class UserSettingRepositoryAndroidTest {
2424

2525
private val testCoroutineDispatcher: TestDispatcher = StandardTestDispatcher()
2626
private val testCoroutineScope = TestScope(testCoroutineDispatcher + Job())

fastlane/Fastfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ platform :android do
3333
])
3434
end
3535

36+
desc "Runs lint"
37+
lane :lint do
38+
gradle(task: "lintDebug")
39+
end
40+
3641
desc "Deploy to Firebase AppTester Dev channel"
3742
lane :distDev do
3843
gradle(tasks: [

0 commit comments

Comments
 (0)