Skip to content

Commit 21b93a8

Browse files
Merge branch 'release/5.251.0'
2 parents 6166001 + cd3cda2 commit 21b93a8

File tree

1,580 files changed

+32844
-21400
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,580 files changed

+32844
-21400
lines changed

.editorconfig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ij_kotlin_field_annotation_wrap = normal
4545
ij_kotlin_finally_on_new_line = false
4646
ij_kotlin_if_rparen_on_new_line = true
4747
ij_kotlin_import_nested_classes = true
48-
ij_kotlin_imports_layout = *, java.**, javax.**, kotlin.**, ^
48+
ij_kotlin_imports_layout=*,java.**,javax.**,kotlin.**,^
4949
ij_kotlin_insert_whitespaces_in_simple_one_line_method = true
5050
ij_kotlin_keep_blank_lines_before_right_brace = 0
5151
ij_kotlin_keep_blank_lines_in_code = 1
@@ -91,3 +91,8 @@ ij_kotlin_while_on_new_line = false
9191
ij_kotlin_wrap_elvis_expressions = 1
9292
ij_kotlin_wrap_expression_body_functions = 1
9393
ij_kotlin_wrap_first_method_in_call_chain = false
94+
ktlint_standard_no-wildcard-imports = disabled
95+
ktlint_standard_filename = disabled
96+
ktlint_standard_package-name = disabled
97+
ktlint_standard_annotation = disabled
98+
ktlint_standard_kdoc-wrapping = disabled

.githooks/pre-commit

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
#!/bin/bash
33
echo "Running spotless check"
44
./gradlew spotlessApply
5-
./gradlew formatKotlin
65
git add `git diff --name-only --cached`
76
exit 0

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
2929
with:
30+
fetch-depth: 0 # required due to setting Spotless ratchetFrom
3031
submodules: recursive
3132

3233
- name: Set up JDK version
@@ -39,7 +40,7 @@ jobs:
3940
uses: gradle/actions/setup-gradle@v3
4041

4142
- name: Run Code Formatting Checks
42-
run: ./gradlew code_format_checks
43+
run: ./gradlew spotlessCheck
4344

4445
unit_tests:
4546
name: Unit tests

.github/workflows/input-screen-e2e-tests.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Input Screen End-to-End tests
22

33
on:
4-
schedule:
5-
- cron: '0 5 * * *' # run at 5 AM UTC
64
workflow_dispatch:
75

86
concurrency:
@@ -48,11 +46,11 @@ jobs:
4846
uses: gradle/actions/setup-gradle@v3
4947

5048
- name: Assemble the project
51-
run: ./gradlew assembleInternalRelease -Pforce-default-variant
49+
run: ./gradlew assemblePlayRelease -Pforce-default-variant
5250

5351
- name: Move APK to new folder
5452
if: always()
55-
run: find . -name "*.apk" -exec mv '{}' apk/internalRelease.apk \;
53+
run: find . -name "*.apk" -exec mv '{}' apk/playRelease.apk \;
5654

5755
- name: Input Screen Maestro run
5856
uses: mobile-dev-inc/action-maestro-cloud@v1.9.8
@@ -62,7 +60,7 @@ jobs:
6260
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
6361
name: inputScreen_${{ github.sha }}
6462
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
65-
app-file: apk/internalRelease.apk
63+
app-file: apk/playRelease.apk
6664
android-api-level: 30
6765
workspace: .maestro
6866
include-tags: inputScreenTest

.github/workflows/nightly.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- name: Checkout repository
1919
uses: actions/checkout@v4
2020
with:
21+
fetch-depth: 0 # required due to setting Spotless ratchetFrom
2122
submodules: recursive
2223

2324
- name: Set up JDK version
@@ -30,7 +31,7 @@ jobs:
3031
uses: gradle/actions/setup-gradle@v3
3132

3233
- name: Run Code Formatting Checks
33-
run: ./gradlew code_format_checks
34+
run: ./gradlew spotlessCheck
3435

3536
unit_tests:
3637
name: Unit tests

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ captures/
4141

4242
# Intellij
4343
*.iml
44-
.idea/
45-
.idea/workspace.xml
44+
.idea/*
4645
!.idea/icon.svg
46+
!.idea/copyright/
47+
.idea/workspace.xml
4748

4849
# Keystore files
4950
*.jks

.maestro/input_screen/input_screen_chat_mode.yaml

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
appId: com.duckduckgo.mobile.android
2+
name: "Input Screen Chat Mode test (bottom config)"
3+
tags:
4+
- inputScreenTest
5+
- releaseTest
6+
---
7+
- retry:
8+
maxRetries: 3
9+
commands:
10+
- launchApp:
11+
clearState: true
12+
stopApp: true
13+
- runFlow: ../shared/skip_all_onboarding.yaml
14+
- runFlow: ./shared/input_screen_enable_flow.yaml
15+
- runFlow: ./shared/input_screen_enable_bottom_bar_flow.yaml
16+
- runFlow: ./shared/input_screen_chat_mode_flow.yaml
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
appId: com.duckduckgo.mobile.android
2+
name: "Input Screen Chat Mode test (top config)"
3+
tags:
4+
- inputScreenTest
5+
- releaseTest
6+
---
7+
- retry:
8+
maxRetries: 3
9+
commands:
10+
- launchApp:
11+
clearState: true
12+
stopApp: true
13+
- runFlow: ../shared/skip_all_onboarding.yaml
14+
- runFlow: ./shared/input_screen_enable_flow.yaml
15+
- runFlow: ./shared/input_screen_chat_mode_flow.yaml

.maestro/input_screen/input_screen_preference_management.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ appId: com.duckduckgo.mobile.android
22
name: "Input Screen user preferences test"
33
tags:
44
- inputScreenTest
5+
- releaseTest
56
---
67
- retry:
78
maxRetries: 3

0 commit comments

Comments
 (0)