Skip to content

Commit 84500d4

Browse files
committed
Merge branch 'develop' into feature/fga/better_media_handling
2 parents bb6132c + e7a615e commit 84500d4

File tree

221 files changed

+4572
-843
lines changed

Some content is hidden

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

221 files changed

+4572
-843
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
distribution: 'temurin' # See 'Supported distributions' for available options
3535
java-version: '17'
3636
- name: Configure gradle
37-
uses: gradle/[email protected].0
37+
uses: gradle/[email protected].1
3838
with:
3939
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
4040
- name: Assemble debug APK
@@ -45,7 +45,7 @@ jobs:
4545
name: elementx-debug
4646
path: |
4747
app/build/outputs/apk/debug/*.apk
48-
- uses: rnkdsh/[email protected].0
48+
- uses: rnkdsh/[email protected].1
4949
id: diawi
5050
# Do not fail the whole build if Diawi upload fails
5151
continue-on-error: true

.github/workflows/nightlyReports.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ jobs:
2929
- name: ⚙️ Run unit tests, debug and release
3030
run: ./gradlew test $CI_GRADLE_ARG_PROPERTIES
3131

32-
- name: 📈 Run screenshot tests, generate kover report and verify coverage
33-
run: ./gradlew verifyPaparazziDebug koverMergedReport koverMergedVerify $CI_GRADLE_ARG_PROPERTIES -Pci-build=true
32+
- name: 📸 Run screenshot tests
33+
run: ./gradlew verifyPaparazziDebug $CI_GRADLE_ARG_PROPERTIES
34+
35+
- name: 📈 Generate kover report and verify coverage
36+
run: ./gradlew koverMergedReport koverMergedVerify $CI_GRADLE_ARG_PROPERTIES -Pci-build=true
3437

3538
- name: ✅ Upload kover report
3639
if: always()
@@ -59,7 +62,7 @@ jobs:
5962
distribution: 'temurin' # See 'Supported distributions' for available options
6063
java-version: '17'
6164
- name: Configure gradle
62-
uses: gradle/[email protected].0
65+
uses: gradle/[email protected].1
6366
with:
6467
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
6568
- name: Dependency analysis

.github/workflows/quality.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
distribution: 'temurin' # See 'Supported distributions' for available options
4040
java-version: '17'
4141
- name: Configure gradle
42-
uses: gradle/[email protected].0
42+
uses: gradle/[email protected].1
4343
with:
4444
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
4545
- name: Run code quality check suite
@@ -51,6 +51,12 @@ jobs:
5151
name: linting-report
5252
path: |
5353
*/build/reports/**/*.*
54+
- name: 🔊 Publish results to Sonar
55+
env:
56+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
57+
ORG_GRADLE_PROJECT_SONAR_LOGIN: ${{ secrets.SONAR_TOKEN }}
58+
if: ${{ always() && env.SONAR_TOKEN != '' && env.ORG_GRADLE_PROJECT_SONAR_LOGIN != '' }}
59+
run: ./gradlew sonar $CI_GRADLE_ARG_PROPERTIES
5460
- name: Prepare Danger
5561
if: always()
5662
run: |

.github/workflows/recordScreenshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
java-version: '17'
2525
# Add gradle cache, this should speed up the process
2626
- name: Configure gradle
27-
uses: gradle/[email protected].0
27+
uses: gradle/[email protected].1
2828
with:
2929
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
3030
- name: Record screenshots

.github/workflows/tests.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,18 @@ jobs:
3333
distribution: 'temurin' # See 'Supported distributions' for available options
3434
java-version: '17'
3535
- name: Configure gradle
36-
uses: gradle/[email protected].0
36+
uses: gradle/[email protected].1
3737
with:
3838
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
3939

4040
- name: ⚙️ Run unit tests, debug and release
4141
run: ./gradlew test $CI_GRADLE_ARG_PROPERTIES
4242

43-
- name: 📈 Run screenshot tests, generate kover report and verify coverage
44-
run: ./gradlew verifyPaparazziDebug koverMergedReport koverMergedVerify $CI_GRADLE_ARG_PROPERTIES -Pci-build=true
43+
- name: 📸 Run screenshot tests
44+
run: ./gradlew verifyPaparazziDebug $CI_GRADLE_ARG_PROPERTIES
45+
46+
- name: 📈Generate kover report and verify coverage
47+
run: ./gradlew koverMergedReport koverMergedVerify $CI_GRADLE_ARG_PROPERTIES -Pci-build=true
4548

4649
- name: 🚫 Upload kover failed coverage reports
4750
if: failure()
@@ -80,13 +83,6 @@ jobs:
8083
**/out/failures/
8184
**/build/reports/tests/*UnitTest/
8285
83-
- name: 🔊 Publish results to Sonar
84-
env:
85-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
86-
ORG_GRADLE_PROJECT_SONAR_LOGIN: ${{ secrets.SONAR_TOKEN }}
87-
if: ${{ always() && env.SONAR_TOKEN != '' && env.ORG_GRADLE_PROJECT_SONAR_LOGIN != '' }}
88-
run: ./gradlew sonar $CI_GRADLE_ARG_PROPERTIES
89-
9086
# https://github.com/codecov/codecov-action
9187
- name: ☂️ Upload coverage reports to codecov
9288
if: always()

.github/workflows/triage-labelled.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- name: Print itemId
3131
run: echo ${{ steps.addItem.outputs.itemId }}
3232
- uses: kalgurn/update-project-item-status@main
33+
if: ${{ steps.addItem.outputs.itemId }}
3334
with:
3435
project-url: https://github.com/orgs/vector-im/projects/91
3536
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}

.idea/dictionaries/shared.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.maestro/tests/account/login.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ appId: ${APP_ID}
2323
- inputText: ${PASSWORD}
2424
- pressKey: Enter
2525
- tapOn: "Continue"
26+
- runFlow: ../assertions/assertWelcomeScreenDisplayed.yaml
27+
- tapOn: "Continue"
2628
- runFlow: ../assertions/assertAnalyticsDisplayed.yaml
2729
- tapOn: "Not now"
2830
- runFlow: ../assertions/assertHomeDisplayed.yaml
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
appId: ${APP_ID}
2+
---
3+
- extendedWaitUntil:
4+
visible:
5+
id: "welcome_screen-title"
6+
timeout: 10_000

app/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ dependencies {
209209
implementation(libs.androidx.core)
210210
implementation(libs.androidx.corektx)
211211
implementation(libs.androidx.lifecycle.runtime)
212+
implementation(libs.androidx.lifecycle.process)
212213
implementation(libs.androidx.activity.compose)
213214
implementation(libs.androidx.startup)
214215
implementation(libs.androidx.preference)

0 commit comments

Comments
 (0)