-
-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2527 from kiwix/release/3.4.2
Release/3.4.2
- Loading branch information
Showing
123 changed files
with
2,498 additions
and
1,705 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 |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
coverageReport: | ||
strategy: | ||
matrix: | ||
api-level: [21, 21] | ||
api-level: [21, 21] | ||
fail-fast: false | ||
runs-on: macOS-latest | ||
steps: | ||
|
@@ -25,7 +25,7 @@ jobs: | |
fetch-depth: 1 | ||
|
||
- name: create instrumentation coverage | ||
uses: ReactiveCircus/android-emulator-runner@v2.8.0 | ||
uses: ReactiveCircus/android-emulator-runner@v2.12.0 | ||
with: | ||
api-level: ${{ matrix.api-level }} | ||
arch: x86_64 | ||
|
@@ -44,4 +44,12 @@ jobs: | |
|
||
- name: Upload coverage to Codecov | ||
run: | | ||
bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }} | ||
bash <(curl -s https://codecov.io/bash) | ||
- name: Upload Coverage to GH-Actions | ||
uses: actions/[email protected] | ||
if: ${{ always() }} | ||
with: | ||
name: Tests Coverage Report | ||
path: | | ||
**/reports/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,15 @@ jobs: | |
- name: Static Analysis | ||
run: ./gradlew ktlintCheck detekt app:lintDebug custom:lintCustomexampleDebug | ||
|
||
- name: Upload Static Analysis Report | ||
uses: actions/[email protected] | ||
if: ${{ always() }} | ||
with: | ||
name: Static Analysis Report | ||
path: | | ||
**/reports/ | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
@@ -27,3 +36,10 @@ jobs: | |
|
||
- name: Build all configurations | ||
run: ./gradlew assemble | ||
|
||
- name: Upload APK as Artifacts | ||
uses: actions/[email protected] | ||
with: | ||
name: kiwix-android | ||
path: | | ||
**/*.apk |
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
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
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
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
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
38 changes: 38 additions & 0 deletions
38
app/src/androidTest/java/org/kiwix/kiwixmobile/localFileTransfer/LocalFileTransferRobot.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,38 @@ | ||
/* | ||
* Kiwix Android | ||
* Copyright (c) 2020 Kiwix <android.kiwix.org> | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
package org.kiwix.kiwixmobile.localFileTransfer | ||
|
||
import applyWithViewHierarchyPrinting | ||
import org.kiwix.kiwixmobile.BaseRobot | ||
import org.kiwix.kiwixmobile.Findable.StringId.TextId | ||
import org.kiwix.kiwixmobile.R | ||
|
||
/** | ||
* Authored by Ayush Shrivastava on 29/10/20 | ||
*/ | ||
|
||
fun localFileTransfer(func: LocalFileTransferRobot.() -> Unit) = | ||
LocalFileTransferRobot().applyWithViewHierarchyPrinting(func) | ||
|
||
class LocalFileTransferRobot : BaseRobot() { | ||
|
||
init { | ||
isVisible(TextId(R.string.receive_files_title)) | ||
} | ||
} |
99 changes: 0 additions & 99 deletions
99
app/src/androidTest/java/org/kiwix/kiwixmobile/main/MainActivityTest.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.