Skip to content

Commit 6252fb4

Browse files
authored
Merge branch 'vector-im:develop' into develop
2 parents 9a22099 + e37344a commit 6252fb4

File tree

317 files changed

+6157
-901
lines changed

Some content is hidden

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

317 files changed

+6157
-901
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Test
22

33
on:
4-
pull_request: {}
4+
pull_request: { }
55
push:
6-
branches: [main, develop]
6+
branches: [ main, develop ]
77

88
# Enrich gradle.properties for CI/CD
99
env:
@@ -48,12 +48,12 @@ jobs:
4848
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
4949
disable-animations: true
5050
emulator-build: 7425822
51-
script: |
51+
script: |
5252
./gradlew gatherGplayDebugStringTemplates $CI_GRADLE_ARG_PROPERTIES
5353
./gradlew unitTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
5454
./gradlew instrumentationTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
5555
./gradlew generateCoverageReport $CI_GRADLE_ARG_PROPERTIES
56-
# NB: continue-on-error marks steps.tests.conclusion = 'success' but leaves stes.tests.outcome = 'failure'
56+
# NB: continue-on-error marks steps.tests.conclusion = 'success' but leaves stes.tests.outcome = 'failure'
5757
- name: Run all the codecoverage tests at once (retry if emulator failed)
5858
uses: reactivecircus/android-emulator-runner@v2
5959
if: always() && steps.tests.outcome == 'failure' # don't run if previous step succeeded.
@@ -70,12 +70,15 @@ jobs:
7070
./gradlew unitTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
7171
./gradlew instrumentationTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
7272
./gradlew generateCoverageReport $CI_GRADLE_ARG_PROPERTIES
73-
- run: ./gradlew sonarqube $CI_GRADLE_ARG_PROPERTIES
74-
if: always() # we may have failed a previous step and retried, that's OK
73+
74+
# we may have failed a previous step and retried, that's OK
75+
- name: Publish results to Sonar
7576
env:
7677
GITHUB_TOKEN: ${{ secrets.SONARQUBE_GITHUB_API_TOKEN }} # Needed to get PR information, if any
7778
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
7879
ORG_GRADLE_PROJECT_SONAR_LOGIN: ${{ secrets.SONAR_TOKEN }}
80+
if: ${{ always() && env.GITHUB_TOKEN != '' && env.SONAR_TOKEN != '' && env.ORG_GRADLE_PROJECT_SONAR_LOGIN != '' }}
81+
run: ./gradlew sonarqube $CI_GRADLE_ARG_PROPERTIES
7982

8083
- name: Format unit test results
8184
if: always()

.github/workflows/triage-labelled.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -142,32 +142,6 @@ jobs:
142142
env:
143143
PROJECT_ID: "PN_kwDOAM0swc2KCw"
144144
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
145-
146-
move_threads_issues:
147-
name: A-Threads to Thread board
148-
runs-on: ubuntu-latest
149-
# Skip in forks
150-
if: >
151-
github.repository == 'vector-im/element-android' &&
152-
contains(github.event.issue.labels.*.name, 'A-Threads')
153-
steps:
154-
- uses: octokit/graphql-action@v2.x
155-
with:
156-
headers: '{"GraphQL-Features": "projects_next_graphql"}'
157-
query: |
158-
mutation add_to_project($projectid:ID!,$contentid:ID!) {
159-
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
160-
projectNextItem {
161-
id
162-
}
163-
}
164-
}
165-
projectid: ${{ env.PROJECT_ID }}
166-
contentid: ${{ github.event.issue.node_id }}
167-
env:
168-
PROJECT_ID: "PN_kwDOAM0swc0rRA"
169-
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
170-
171145
move_message_bubbles_issues:
172146
name: A-Message-Bubbles to Message bubbles board
173147
runs-on: ubuntu-latest

.github/workflows/triage-priority-bugs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
2828
with:
2929
project: Android App Team
30-
column: P1
30+
column: Important Issues & Topics (P1)
3131
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
3232

3333
P1_issues_to_crypto_team_workboard:

CHANGES.md

Lines changed: 66 additions & 0 deletions

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ plugins {
4545
id "io.gitlab.arturbosch.detekt" version "1.21.0"
4646

4747
// Dependency Analysis
48-
id 'com.autonomousapps.dependency-analysis' version "1.12.0"
48+
id 'com.autonomousapps.dependency-analysis' version "1.13.1"
4949
}
5050

5151
// https://github.com/jeremylong/DependencyCheck

changelog.d/3955.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/5525.wip

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/6407.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/6565.wip

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/6750.wip

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)