-
Notifications
You must be signed in to change notification settings - Fork 919
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
274 changed files
with
15,279 additions
and
6,363 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,118 @@ | ||
name: End-to-End tests (Robin) | ||
|
||
on: | ||
schedule: | ||
- cron: '0 3 * * *' # run at 3 AM UTC | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
instrumentation_tests: | ||
runs-on: ubuntu-latest | ||
name: End-to-End tests | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
|
||
- name: Create folder | ||
if: always() | ||
run: mkdir apk | ||
|
||
- name: Decode keys | ||
uses: davidSchuppa/base64Secret-toFile-action@v2 | ||
with: | ||
secret: ${{ secrets.FAKE_RELEASE_PROPERTIES }} | ||
fileName: ddg_android_build.properties | ||
destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/ | ||
|
||
- name: Decode key file | ||
uses: davidSchuppa/base64Secret-toFile-action@v2 | ||
with: | ||
secret: ${{ secrets.FAKE_RELEASE_KEY }} | ||
fileName: android | ||
destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/ | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
|
||
- name: Assemble release APK | ||
run: ./gradlew assemblePlayRelease -Pforce-default-variant | ||
|
||
- name: Move APK to new folder | ||
if: always() | ||
run: find . -name "*.apk" -exec mv '{}' apk/release.apk \; | ||
|
||
- name: Ad click detection flows | ||
uses: mobile-dev-inc/[email protected] | ||
with: | ||
api-key: ${{ secrets.ROBIN_API_KEY }} | ||
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }} | ||
name: adClickTest_${{ github.sha }} | ||
timeout: 120 | ||
app-file: apk/release.apk | ||
android-api-level: 30 | ||
workspace: .maestro | ||
include-tags: adClickTest | ||
|
||
- name: Privacy Tests | ||
if: always() | ||
uses: mobile-dev-inc/[email protected] | ||
with: | ||
api-key: ${{ secrets.ROBIN_API_KEY }} | ||
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }} | ||
name: privacyTest_${{ github.sha }} | ||
timeout: 120 | ||
app-file: apk/release.apk | ||
android-api-level: 30 | ||
workspace: .maestro | ||
include-tags: privacyTest | ||
|
||
- name: Security Tests | ||
if: always() | ||
uses: mobile-dev-inc/[email protected] | ||
with: | ||
api-key: ${{ secrets.ROBIN_API_KEY }} | ||
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }} | ||
name: securityTest_${{ github.sha }} | ||
timeout: 120 | ||
app-file: apk/release.apk | ||
android-api-level: 30 | ||
workspace: .maestro | ||
include-tags: securityTest | ||
|
||
- name: Release Tests | ||
if: always() | ||
uses: mobile-dev-inc/[email protected] | ||
with: | ||
api-key: ${{ secrets.ROBIN_API_KEY }} | ||
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }} | ||
name: releaseTest_${{ github.sha }} | ||
timeout: 120 | ||
app-file: apk/release.apk | ||
android-api-level: 30 | ||
workspace: .maestro | ||
include-tags: releaseTest | ||
|
||
- name: Notifications permissions Android 13+ | ||
if: always() | ||
uses: mobile-dev-inc/[email protected] | ||
with: | ||
api-key: ${{ secrets.ROBIN_API_KEY }} | ||
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }} | ||
name: notificationPermissionTest_${{ github.sha }} | ||
timeout: 120 | ||
app-file: apk/release.apk | ||
android-api-level: 33 | ||
workspace: .maestro/notifications_permissions_android13_plus |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
14 changes: 0 additions & 14 deletions
14
app-tracking-protection/vpn-impl/src/main/res/drawable/ic_open_in_24.xml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.