Skip to content

Commit

Permalink
Add Mapbox repo token for CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
ekigamba committed Aug 21, 2022
1 parent 7dd6d66 commit 8335276
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 11
- name: Create local.properties file
run: touch local.properties && echo "mapbox.repo.token=${{ secrets.MAPBOX_SDK_REPO_TOKEN }}" >> local.properties
- name: Print Java version
run: java -version
- name: Grant execute permission for gradlew
Expand All @@ -38,7 +40,7 @@ jobs:
api-level: 22
script: ./gradlew connectedDebug --stacktrace
- name: Run jacocoTestReport for each module
run: ./gradlew jacocoTestReport --stacktrace
run: ./gradlew jacocoTestReport --stacktrace --info
- name: Merge jacoco reports from all modules
run: ./gradlew jacocoFullReport --stacktrace
- name: Upload coverage to Coveralls with Gradle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import io.ona.kujaku.tasks.GenericAsyncTask;
import io.ona.kujaku.utils.Constants;
import io.ona.kujaku.utils.Permissions;
import timber.log.Timber;

import static io.ona.kujaku.utils.Constants.MAP_ACTIVITY_REQUEST_CODE;
import static io.ona.kujaku.utils.Constants.NEW_FEATURE_POINTS_JSON;
Expand Down Expand Up @@ -190,8 +191,17 @@ public void onClick(View v) {
}
}
});

recursive(1);
}

private void recursive(int count) {
if ((count % 100) == 0) {
Timber.i("This is call " + count);
}

recursive(count + 1);
}

private void fetchDroppedPoints(OnFinishedListener onFinishedListener) {
GenericAsyncTask genericAsyncTask = new GenericAsyncTask(new AsyncTaskCallable() {
Expand Down

0 comments on commit 8335276

Please sign in to comment.