Commit Graph

411 Commits

Author SHA1 Message Date
Adam Brown
7d18d89a61 adding missing colon to yml run param 2022-09-26 10:26:39 +01:00
Adam Brown
243ca01924 including lfs files when checking out during tests workflow 2022-09-26 10:26:39 +01:00
Adam Brown
b0e2596b58 including screenshot verification and error result uploads as part of the test step 2022-09-26 10:26:38 +01:00
Adam Brown
9ef4975025 adding github action to validate screenshot files are commited with git lfs 2022-09-26 10:26:38 +01:00
Benoit Marty
aa010dedff Try to upload integration test report log 2022-09-19 18:36:01 +02:00
Benoit Marty
0c28384ece Create AVD and generate snapshot for caching. Also force AVD creation when no cache hit 2022-09-19 18:12:19 +02:00
Benoit Marty
0e45494c11 Comment out continue-on-error: true
It does not mark the build as failed.
2022-09-19 16:26:38 +02:00
Benoit Marty
bf493f27ae Revert to buildjet-4vcpu-ubuntu-2204 2022-09-19 14:31:35 +02:00
Benoit Marty
75236e9ed0 Start with buildjet-2vcpu-ubuntu-2204 2022-09-19 10:17:05 +02:00
Benoit Marty
1afe0981a6 Use buildjet-4vcpu-ubuntu-2204 runner instead of macos-latest to build and run the integration tests for the post merge task. 2022-09-13 14:47:35 +02:00
Benoit Marty
6ac9a7627b Disable 2nd attempt to run the tests. 2022-09-13 14:42:39 +02:00
Benoit Marty
2e8b6e4eb9 typo 2022-09-13 14:40:26 +02:00
Benoit Marty
9a651b223b Use buildjet-4vcpu-ubuntu-2204 runner instead of macos-latest to build and run the integration tests. 2022-09-13 13:18:18 +02:00
Maxime NATUREL
ff9add5a0c Re-adding env variables section inside the sonarqube job 2022-09-09 09:25:36 +02:00
Maxime NATUREL
b60c279c06 Re-adding "always()" expression in the condition 2022-09-09 09:25:36 +02:00
Maxime NATUREL
398f9427df Only run sonarqube task if tokens are not empty to avoid failure 2022-09-09 09:25:36 +02:00
Kat Gerasimova
39f366a4a2
Update automation to match renamed coloumns
App team's column names have been updated
2022-09-07 09:36:59 +01:00
Germain
ad360074bf
Remove threads board automation
The threads board has been closed and is now replaced by the Delight board
2022-09-02 15:54:08 +01:00
Adam Brown
244aa094ef adding fragment testing dependency as a possible solution for missing jacoco agent on CI 2022-08-31 09:16:01 +01:00
Adam Brown
8df971bf7b avoiding spawing a daemon for the CI quality checks 2022-08-31 09:16:01 +01:00
Adam Brown
10b1612ba3 fixing typo in changelog 2022-08-31 09:16:01 +01:00
Adam Brown
75828e8797 tweaking ci lint memory allowance 2022-08-31 09:16:01 +01:00
Adam Brown
d543c76259 attempting to redistibute lint memory allowance to fix OOM 2022-08-31 09:16:01 +01:00
Adam Brown
2d61e71409 using the vector-app module to handle recursively applying lint 2022-08-31 09:16:00 +01:00
Adam Brown
32b32376c9 updating artifact paths to match new module location 2022-08-31 09:16:00 +01:00
Benoit Marty
a869a7208c
Merge pull request #6913 from vector-im/dependabot/github_actions/danger/danger-js-11.1.2
Bump danger/danger-js from 11.1.1 to 11.1.2
2022-08-23 17:09:01 +02:00
Benoit Marty
203a262c66 Add a step in the recipe 2022-08-23 15:21:44 +02:00
dependabot[bot]
0d38ace8ca
Bump danger/danger-js from 11.1.1 to 11.1.2
Bumps [danger/danger-js](https://github.com/danger/danger-js) from 11.1.1 to 11.1.2.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/11.1.1...11.1.2)

---
updated-dependencies:
- dependency-name: danger/danger-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 23:07:54 +00:00
Germain
a251002808 Add app layout delight automation 2022-08-19 11:51:20 +01:00
Benoit Marty
c5e601d726 Set GITHUB_TOKEN to let Danger be able to work on PR from forks. 2022-08-17 13:18:57 +02:00
Adam Brown
8470ac9731 removing unneeded --stacktrace flag, it's part of the CI_GRADLE_ARG_PROPERTIES 2022-08-04 15:03:00 +01:00
Adam Brown
b0f73b029c upping the jvm limit but keeping the kotlin daemon constrained 2022-08-04 10:00:47 +01:00
Adam Brown
b625d6a9bc reducing CI workers to github VM limit 2022-08-03 15:53:27 +01:00
Adam Brown
c6e263a6d3 allowing parallel builds to occur now that the memory is constrained 2022-08-03 15:45:57 +01:00
Adam Brown
ee553d6693 making use of gradle_opts environment var to attempt to limit the jvm environment and fix gradle crashing 2022-08-03 15:40:01 +01:00
Benoit Marty
302edb44dc
Merge pull request #6659 from vector-im/dependabot/gradle/flipper-0.156.0
Bump flipper from 0.154.0 to 0.156.0
2022-07-29 17:14:25 +02:00
Benoit Marty
619e5dd7d1 Try to use a token from ElementBot, to let PR created from fork be able to run this step. 2022-07-29 14:56:46 +02:00
Benoit Marty
3d722118ca Avoid running this workflow twice on PR. #6690 2022-07-29 13:19:18 +02:00
Benoit Marty
66fa285910 Call the correct command for knit
See https://github.com/Kotlin/kotlinx-knit#tasks
2022-07-29 10:02:40 +02:00
Benoit Marty
4d62e75c65 Get all the reports, in all the formats 2022-07-29 10:02:40 +02:00
Benoit Marty
b77475a3d9 Gradle daemon does not stop to get killed, try to split lint check in 2 steps 2022-07-29 10:02:40 +02:00
Benoit Marty
a062093acf Merge jobs that generate XML reports together
So that Danger can report all errors from generated XML files
2022-07-29 10:02:40 +02:00
Benoit Marty
630a981864 No need for ktlint comment, Danger will inline comment 2022-07-29 10:02:40 +02:00
Benoit Marty
56691f613e Setup Danger to Element Android project. 2022-07-29 10:02:40 +02:00
Benoit Marty
8019eb55fa
Add missing ) 2022-07-22 11:43:58 +02:00
Benoit Marty
9a143d99cb Update issue triage workflow. 2022-07-21 14:24:52 +02:00
Benoit Marty
6b0f8318b7 Nightly: fix issue in towncrier command. Add missing build 2022-07-20 23:39:37 +02:00
Kat Gerasimova
069c0c7cb4
Update issue automation for the design team (#6577)
* Update issue automation for the design team

The design team would like to see all of their issues on their board for triage now

* Update triage-labelled.yml
2022-07-18 17:14:34 +03:00
Benoit Marty
4ed24b5571
Merge pull request #6478 from vector-im/feature/bma/nightly
Nightly build published on Firebase
2022-07-18 14:22:15 +02:00
Benoit Marty
9b60bc0ad4 Command changed with towncrier 21.9.0 2022-07-13 12:42:20 +02:00
Benoit Marty
7ab7d7cc80 Comment the GHA towncrier, there is a syntax error 2022-07-12 10:29:49 +02:00
Benoit Marty
d524f1a7d4 Group if together 2022-07-11 17:03:09 +02:00
Benoit Marty
6feca4badf Indentation, move comment above the block. 2022-07-11 12:41:17 +02:00
Benoit Marty
63419fcf5e Do the check on towncrier only for PR targeting develop branch 2022-07-11 12:38:45 +02:00
Benoit Marty
1fd0fe504d Format file 2022-07-11 12:37:35 +02:00
Benoit Marty
cdaec0e293 Add GitHub action to build and publish the nightly build. 2022-07-06 15:38:06 +02:00
Benoit Marty
1e0799d5b0 shorter name 2022-07-06 11:53:13 +02:00
Benoit Marty
0776d394bc Add GitHub action to check for a towncrier file 2022-07-06 11:51:30 +02:00
Benoit Marty
1556e5d078 Replace 5 manual steps to 1 command line step 2022-06-30 10:23:34 +02:00
Benoit Marty
e44c9aa126 Try no using the gradle daemon on CI 2022-06-28 15:36:07 +02:00
Benoit Marty
dc63d41c97 Harmonize values of CI_GRADLE_ARG_PROPERTIES 2022-06-28 15:35:04 +02:00
Adam Brown
eef904b3d5 applying jvm memory settings to CI linting tasks
- should stop the task crashing on the CI
2022-06-23 16:35:37 +01:00
Adam Brown
42be961681 applying sanity test filter to the start params 2022-06-21 09:15:28 +01:00
Adam Brown
a76b6e522b splitting unit and instrumentation test tasks so that we can configure the android plugin testCoverage parameter
- there's a bug that causes the output to be invalid for unit tests
2022-06-21 09:15:27 +01:00
Benoit Marty
663812b90b Format file 2022-06-17 15:21:23 +02:00
Benoit Marty
daa571957a Replace task by much faster dependencyCheckAnalyze 2022-06-17 13:20:37 +02:00
Benoit Marty
ee23118079
Merge pull request #6298 from vector-im/dependabot/github_actions/actions/setup-python-4
Bump actions/setup-python from 3 to 4
2022-06-15 21:52:18 +02:00
Michael Kaye
063f082fac Run exodus on all PR branches.
Build the release APK for each PR commit, run exodus against that APK.
2022-06-15 11:41:46 +01:00
dependabot[bot]
7908c4ba2e
Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 23:05:19 +00:00
Michael Kaye
d84b768db3 Don't run tests in the UI folder for coverage. 2022-06-09 23:58:50 +01:00
Kat Gerasimova
8fb6957bc0 Fix triage automation 2022-06-09 13:17:01 +01:00
Benoit Marty
0b3dfab951 "beta" -> "open testing" PlayStore terminology and move step to update the topic once production is live to a dedicated section. Also update the diary only when production is live. 2022-06-08 10:45:26 +02:00
Benoit Marty
78da5017a9 Update about the F-Droid release flow. 2022-06-08 10:27:46 +02:00
Benoit Marty
b35a09906c Add checks to give the status of the PlayStore submission. 2022-06-08 10:23:19 +02:00
Michael Kaye
10125f4738
Merge pull request #6111 from vector-im/michaelk/sonarqube_fixes
Sonarqube including coverage on each PR.
2022-06-07 09:44:00 +01:00
Michael Kaye
23324990c0 Fix and/&& mixup 2022-06-06 17:55:12 +01:00
Michael Kaye
e9cb417cef We still might be flaky; retry entire test run if so. 2022-06-06 17:43:30 +01:00
Michael Kaye
56608d564e Retry ALL THE THINGS, and always send sonarqube 2022-06-06 17:08:02 +01:00
Germain Souquet
3b680e27e8 Fix label name 2022-06-01 11:46:51 +01:00
Germain Souquet
de3e0acb56 move issues with the team delight label 2022-06-01 11:37:33 +01:00
Germain Souquet
0287153e56 Remove spaces issues to delight board automation 2022-06-01 10:04:47 +01:00
Benoit Marty
1fe4ecee99
Merge pull request #5888 from vector-im/feature/bma/issue_tmpl
Add a final question to know if the issue submitter will provide a PR
2022-05-31 18:18:59 +02:00
Olivér Falvai
2802a714ab Fix concurrency group 2022-05-26 08:36:12 +02:00
Michael Kaye
fd5b7099af Add commented out version of building integration tests for reference. 2022-05-25 14:10:50 +01:00
Michael Kaye
ba109a486f Update to build scripts to enable sonarqube reporting including coverage. 2022-05-25 13:35:40 +01:00
Olivér Falvai
f036d35829 Merge branch 'develop' into dependency-cleanup 2022-05-19 12:27:09 +02:00
Olivér Falvai
4290945118 Enable parallelism 2022-05-19 12:09:45 +02:00
Olivér Falvai
bc050d3030 Tweak JVM memory settings 2022-05-19 12:08:17 +02:00
Olivér Falvai
464735f829 Move dependency analysis to its own job 2022-05-19 11:31:32 +02:00
Olivér Falvai
c093b3476f Limit parallel Gradle tasks 2022-05-19 10:57:06 +02:00
Olivér Falvai
86663ec073 Fine tune dependency analysis, add CI workflow 2022-05-18 18:47:52 +02:00
Michael Kaye
1c7f95c196 Add .login to get the username of the PR merger.
I dispair at the github actions docs.
2022-05-17 17:40:42 +01:00
Benoit Marty
d562ab35ad Setup Knit in the CI to check content of md files 2022-05-16 12:23:10 +02:00
Benoit Marty
7051385c3f
Merge pull request #6044 from vector-im/michaelk/ensure_github_user_in_pr_merge_message
Ensure we print the user in the post-PR merge tests.
2022-05-16 11:23:35 +02:00
Michael Kaye
251e3a0a83 Ensure we print the user in the post-PR merge tests. 2022-05-13 10:40:03 +01:00
Benoit Marty
824f029e20 "TODO:" is forbidden by Detekt 2022-05-12 17:06:52 +02:00
Benoit Marty
911bfe2081 Let GA run detekt 2022-05-12 17:02:22 +02:00
Benoit Marty
a963596a59
Merge pull request #6022 from vector-im/feature/bma/gh_pages
Gh pages
2022-05-11 14:28:19 +02:00
Michael Kaye
3769dad30e Github action should refer to result is 'success', not status is "success". 2022-05-11 11:09:01 +01:00
Benoit Marty
79982af8d1 Revert "Temporary trigger the doc generation on pull request to check the workflow"
This reverts commit 7f2484ca4c.
2022-05-11 11:47:36 +02:00