-
Notifications
You must be signed in to change notification settings - Fork 711
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix#1432 - Currency Code or Symbol Displayed
- Loading branch information
Showing
621 changed files
with
23,238 additions
and
28,636 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Workflow for feature branches | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '!development' | ||
- '!master' | ||
|
||
jobs: | ||
build: | ||
name: Build APK | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checking out repository | ||
uses: actions/checkout@v2 | ||
|
||
# Set up JDK | ||
- name: Set Up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
|
||
# Install NDK | ||
- name: Install NDK | ||
run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT} | ||
|
||
# Update Gradle Permission | ||
- name: Change gradlew Permission | ||
run: chmod +x gradlew | ||
|
||
# Build App | ||
- name: Build with Gradle | ||
run: ./gradlew assemble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: Workflow for master/development branches | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- 'development' | ||
- 'master' | ||
|
||
jobs: | ||
build: | ||
name: Build APK | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checking out repository | ||
uses: actions/checkout@v2 | ||
|
||
# Set up JDK | ||
- name: Set Up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
|
||
# Install NDK | ||
- name: Install NDK | ||
run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT} | ||
|
||
# Update Gradle Permission | ||
- name: Change gradlew Permission | ||
run: chmod +x gradlew | ||
|
||
# Build App | ||
- name: Build with Gradle | ||
run: ./gradlew assemble | ||
|
||
# Upload Built APK | ||
- name: Upload Build Artifacts | ||
uses: actions/[email protected] | ||
with: | ||
name: mifos-mobile | ||
path: app/build/outputs/apk/debug/ | ||
|
||
lintCheck: | ||
name: Static Analysis | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checking out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Static Analysis | ||
run: ./gradlew lint | ||
|
||
- name: Upload Static Analysis Report For Mifos-Mobile Module | ||
uses: actions/[email protected] | ||
if: failure() | ||
with: | ||
name: Static Analysis Report | ||
path: app/build/reports/ | ||
|
||
pmd: | ||
name: PMD | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checking out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: PMD Check | ||
run: ./gradlew pmd | ||
|
||
- name: Upload PMD Report | ||
uses: actions/[email protected] | ||
if: failure() | ||
with: | ||
name: PMD Report | ||
path: app/build/reports/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
app/src/androidTest/java/org/mifos/mobile/ApplicationTest.java
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
app/src/androidTest/java/org/mifos/mobile/ApplicationTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.mifos.mobile | ||
|
||
import androidx.test.InstrumentationRegistry | ||
import androidx.test.runner.AndroidJUnit4 | ||
|
||
import org.junit.Assert | ||
import org.junit.Test | ||
import org.junit.runner.RunWith | ||
|
||
/** | ||
* [Testing Fundamentals](http://d.android.com/tools/testing/testing_android.html) | ||
*/ | ||
@RunWith(AndroidJUnit4::class) | ||
class ApplicationTest { | ||
@Test | ||
fun useAppContext() { | ||
// Context of the app under test. | ||
val appContext = InstrumentationRegistry.getTargetContext() | ||
Assert.assertEquals("org.mifos.mobile", appContext.packageName) | ||
} | ||
} |
78 changes: 0 additions & 78 deletions
78
app/src/commonTest/java/org/mifos/mobile/FakeJsonName.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.