Commit Graph

463 Commits

Author SHA1 Message Date
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
Benoit Marty
7f2484ca4c Temporary trigger the doc generation on pull request to check the workflow 2022-05-11 11:15:46 +02:00
Benoit Marty
a7d85cf9fd Setup GitHub action to generate the documentation of the SDK from develop branch 2022-05-11 11:00:24 +02:00
Benoit Marty
f3d2949e87
Merge pull request #5945 from vector-im/feature/bma/dea_crash
Add small step at the beginning of the release flow
2022-05-09 17:05:05 +02:00
Michael Kaye
2f39be37a0 Check merged flag from event.pull_request 2022-05-09 15:46:07 +01:00
Michael Kaye
80263bb790 Use ' not " for quotes, and add more brackets. 2022-05-09 15:35:07 +01:00
Michael Kaye
66fe792d0e Fix typo .. -> . 2022-05-09 15:15:09 +01:00
Michael Kaye
4d1378d0a1 Fix typo - pull-request -> pull_request 2022-05-09 15:12:29 +01:00
Michael Kaye
39c2b08065
Run the PR test after merge and report to channel if it fails (#5962)
* Fork sonarqube run into a nightly build, report failures back to channel.
* Each PR triggers a build after merge, report failures back to channel.
2022-05-09 13:49:34 +00:00
Benoit Marty
bb54be5531
Merge pull request #5960 from vector-im/feature/bma/dependabot_reviewers
Dependabot reviewers
2022-05-09 15:19:18 +02:00
Benoit Marty
0138341486 Also assign reviewers for the github-actions update 2022-05-06 15:34:26 +02:00
Benoit Marty
bf8b534c82 Dependabot PR assign to the reviewers team 2022-05-06 15:33:51 +02:00
Michael Kaye
fb19d6b83c Try ensuring public_baseurl set correctly. 2022-05-05 14:35:54 +01:00
Benoit Marty
7a01e1bf65 Add small step at the beginning of the release flow 2022-05-05 14:55:34 +02:00
Michael Kaye
3a9f0232f0 Fix nightly build test report message. 2022-05-04 16:13:44 +01:00
Michael Kaye
48554a4769 Update version to fix name of parameter 'ratelimit' 2022-05-04 14:57:08 +01:00
Benoit Marty
7881f7f9ea Add a final question to know if the issue submitter will provide a PR 2022-05-02 14:41:58 +02:00
Benoit Marty
4b33751127 Clarify + typo 2022-04-27 14:31:02 +02:00
Benoit Marty
8ff7acaec5
Merge pull request #5832 from vector-im/feature/manu/elementx_gh_workflow
Add a GH workflow to push ElementX issues to the global board
2022-04-26 16:18:57 +02:00
Claire G
40f3165d7f update comment 2022-04-26 15:13:27 +02:00
Claire G
766059ffd1 disable update-gradle-wrapper for forks 2022-04-26 15:11:18 +02:00
manuroe
d2f6f0fa92 Add a GH workflow to push ElementX issues to the global board
https://github.com/orgs/vector-im/projects/43
2022-04-25 11:11:09 +02:00
Kat Gerasimova
e3198e5b25 Update issue labelling automation
Don't label A-Threads with Z-Labs any more because threads have been released
2022-04-25 08:41:05 +01:00
Claire G
683cc599ca disable triage-move-review-requests for forks 2022-04-22 16:19:15 +02:00
Michael Kaye
2951077979
Merge pull request #5672 from vector-im/michaelkaye/use_hookshot
Move to using hookshot to send notifications, rather than using matrix client directly.
2022-04-21 17:27:44 +01:00
Benoit Marty
4adb469b38
Merge pull request #5741 from vector-im/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2022-04-12 17:01:22 +02:00
dependabot[bot]
77dd697f53
Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 23:08:54 +00:00
dependabot[bot]
4779dd1b0b
Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 23:08:51 +00:00
Michael Kaye
c56d21bf77
Merge pull request #5702 from vector-im/michaelk/upgrade_setup_matrix_synapse
Upgrade setup-matrix-synapse action
2022-04-06 15:38:02 +01:00
Michael Kaye
a648a06ad1 Update to latest setup-matrix-synapse 2022-04-06 10:07:58 +01:00
Benoit Marty
0b76beb241 Add a handy markdown table 2022-04-06 10:21:43 +02:00
Benoit Marty
02e3f0a359 Add step to handle the TODO in strings.xml 2022-04-05 18:53:40 +02:00
Michael Kaye
acc9874bdf Move to using hookshot to send notifications, rather than logging into matrix room. 2022-03-30 16:46:44 +01:00
Adam Brown
abbf798ccf
Merge pull request #5655 from vector-im/dependabot/github_actions/peter-evans/find-comment-2
Bump peter-evans/find-comment from 1 to 2
2022-03-29 12:00:24 +01:00
Adam Brown
dedbce8458
Merge pull request #5654 from vector-im/dependabot/github_actions/peter-evans/create-pull-request-4
Bump peter-evans/create-pull-request from 3 to 4
2022-03-29 12:00:15 +01:00
Adam Brown
181c20d601
Merge pull request #5656 from vector-im/dependabot/github_actions/peter-evans/create-or-update-comment-2
Bump peter-evans/create-or-update-comment from 1 to 2
2022-03-29 11:59:59 +01:00
dependabot[bot]
6269a3357b
Bump peter-evans/create-or-update-comment from 1 to 2
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 1 to 2.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 23:04:38 +00:00
dependabot[bot]
01bb49d963
Bump peter-evans/find-comment from 1 to 2
Bumps [peter-evans/find-comment](https://github.com/peter-evans/find-comment) from 1 to 2.
- [Release notes](https://github.com/peter-evans/find-comment/releases)
- [Commits](https://github.com/peter-evans/find-comment/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/find-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 23:04:35 +00:00
dependabot[bot]
a7cd03d578
Bump peter-evans/create-pull-request from 3 to 4
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 23:04:32 +00:00
Michael Kaye
3182c60d13 Quoe 'schedule' correctly. 2022-03-24 13:42:25 +00:00
Michael Kaye
164ac0ee80
Update nightly.yml
Clean up formatting of if
2022-03-24 13:40:52 +00:00
Michael Kaye
3525d82733 Make test use quoted strings 2022-03-24 13:39:28 +00:00
Michael Kaye
f7f115e4dc Be clearer on which test run we're running & don't run sonarqube on release branches. 2022-03-23 15:19:30 +00:00
Michael Kaye
669d00c02a Only run sonar on nightly runs 2022-03-23 15:15:30 +00:00
Benoit Marty
d5a89fc4aa
Merge pull request #5599 from vector-im/dependabot/github_actions/actions/cache-3
Bump actions/cache from 2 to 3
2022-03-23 10:23:29 +01:00
dependabot[bot]
13d0b23663
Bump michaelkaye/setup-matrix-synapse from 0.3.0 to 0.4.0
Bumps [michaelkaye/setup-matrix-synapse](https://github.com/michaelkaye/setup-matrix-synapse) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/michaelkaye/setup-matrix-synapse/releases)
- [Commits](https://github.com/michaelkaye/setup-matrix-synapse/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: michaelkaye/setup-matrix-synapse
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:03:32 +00:00
dependabot[bot]
6fd207764d
Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:03:30 +00:00
Michael Kaye
4a8aeadbcf
Merge pull request #5471 from vector-im/michaelk/ci_script_improvements
CI Script improvements
2022-03-21 15:06:11 +00:00
Michael Kaye
c687252fb6
Update .github/workflows/nightly.yml 2022-03-21 14:31:17 +00:00
Michael Kaye
9a532fc47f Use different tags for unit tests and android test compilation.
Otherwise we will cancel one in favour of the other.
2022-03-11 16:47:40 +00:00
Benoit Marty
02ea1c0e7c
Add space between icon and name
Also remove extra space for the text_template
2022-03-11 14:39:38 +01:00
Michael Kaye
9a112bb010 Remove confetti from build failed message.
(there will be red icons if the build has failed in the body anyway)
2022-03-11 08:45:27 +00:00
Michael Kaye
400a47c39b Only run one gradlew build for all tests, do not split by project 2022-03-11 08:45:04 +00:00
Michael Kaye
c57d22a72c Additionally notify the matrix channel if these tests fail when run
after merge to develop or main.
2022-03-10 16:41:00 +00:00
Michael Kaye
23f7f72e38 Compile tests on PR, to ensure we don't break the build when merging.
This was accidentally committed to develop and reverted there.
2022-03-10 15:58:00 +00:00
Michael Kaye
ed7c65d8d8 Revert "Compile tests on PR, to ensure we don't break the build when merging."
This reverts commit 9e5ff1785a.
2022-03-10 15:57:05 +00:00
Michael Kaye
9e5ff1785a Compile tests on PR, to ensure we don't break the build when merging. 2022-03-10 15:50:02 +00:00
Michael Kaye
70fbcec093 Update to latest setup-matrix-synapse 2022-03-10 11:31:44 +00:00
Michael Kaye
029ccfa37f Add names to all jobs 2022-03-10 10:24:41 +00:00
Michael Kaye
5ec8a2b36d Add some color to the nightly summary. 2022-03-10 10:24:41 +00:00
Michael Kaye
e9fe4630f1 Swap to using github action to configure server 2022-03-09 18:26:37 +00:00
Benoit Marty
104f948a08
Merge pull request #5445 from vector-im/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-09 11:27:13 +01:00
Michael Kaye
9c404b5cab Remove -PallWarningsAsErrors now the build doesn't need the flag to compile. 2022-03-08 13:26:24 +00:00
dependabot[bot]
9c18088128
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 23:05:24 +00:00
Michael Kaye
b25d11244b
Merge pull request #5413 from vector-im/michaelk/code_cov_alt
Code coverage using jacoco (and xml report)
2022-03-07 13:31:51 +00:00
Michael Kaye
2b7b7521a9 Maybe the file is here? 2022-03-07 10:26:25 +00:00
Michael Kaye
8e39247c4d I give up for the weekend 2022-03-04 18:00:20 +00:00
Michael Kaye
1ad3e7cc9d Frustration at artifact handling vs what's in docs. 2022-03-04 16:35:46 +00:00
Michael Kaye
57bbec4ffd
Merge pull request #5388 from vector-im/michaelk/format_unit_test_results
Format unit test results
2022-03-04 15:29:15 +00:00
Michael Kaye
96168929ff Tweak upload/download of codecov xml file 2022-03-04 15:15:52 +00:00
Michael Kaye
cb32124fd4 Fix typo in name of action 2022-03-03 18:28:13 +00:00
Michael Kaye
76844b1572 Run codecoverage and pass to sonarqube upload for processing. 2022-03-03 16:34:54 +00:00
Michael Kaye
105f3dd93d Correct name of environment variable 2022-03-03 16:34:26 +00:00
Michael Kaye
3364868365 Use environment variable that is tied to project property 2022-03-03 15:05:39 +00:00
Michael Kaye
0ce787f20b Ensure we run on java 11 on macos 2022-03-03 10:51:00 +00:00
Michael Kaye
5ea917f74b jobs.step.env is a map not a list 2022-03-03 10:51:00 +00:00
Michael Kaye
82e0f4a1a9 Run sonarqube as part of nightly build 2022-03-03 10:51:00 +00:00
Michael Kaye
74040c5563
Merge pull request #5387 from vector-im/michaelk/nightly_tests_logcat
Nightly Tests should save logcat logs to artifact
2022-03-02 10:34:23 +00:00
Benoit Marty
1c94a7ddc7
Merge pull request #5382 from vector-im/dependabot/github_actions/actions/setup-python-3
Bump actions/setup-python from 2 to 3
2022-03-01 18:38:54 +01:00
Michael Kaye
cb00a668fe Format unit test results as well 2022-03-01 11:42:54 +00:00
dependabot[bot]
e776ff4d9d
Bump actions/setup-python from 2 to 3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
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-02-28 23:03:07 +00:00
dependabot[bot]
4c882e8f92
Bump michaelkaye/matrix-hookshot-action from 0.2.0 to 0.3.0
Bumps [michaelkaye/matrix-hookshot-action](https://github.com/michaelkaye/matrix-hookshot-action) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/michaelkaye/matrix-hookshot-action/releases)
- [Commits](https://github.com/michaelkaye/matrix-hookshot-action/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: michaelkaye/matrix-hookshot-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 23:03:03 +00:00
Michael Kaye
39d1fc939a Use pkill (killall has a failuremode of killing PID 1 on some systems) 2022-02-28 17:08:52 +00:00
Michael Kaye
221e9b85df Ensure we have logcat for nightly runs 2022-02-28 17:06:34 +00:00
Michael Kaye
bb57b6f9c8
Merge branch 'develop' into michaelk/force_java_version 2022-02-28 14:40:23 +00:00
Michael Kaye
b3e6ff68af Allow workflows to be triggered manually without sending notification and force java 11 2022-02-28 14:37:14 +00:00
David Langley
c61af45216 Fix spacing 2022-02-28 12:31:36 +00:00
David Langley
6c4dd54a2c Merge branch 'develop' of github.com:vector-im/element-android into feature/dla/ci_check_concurrency 2022-02-28 12:29:52 +00:00
Michael Kaye
795072312d Remove duplicate sanity_test.yml - now in nightly.yml 2022-02-28 09:57:01 +00:00
Michael Kaye
58ffb011c7 Rename sanity test to nightly test, incorporate integration tests for nightly runs.
Also permit manual triggering of a run.
2022-02-25 14:18:56 +00:00
David Langley
7e308d10d8 Add comments where concurrency is not required so that it is considered when making changes. 2022-02-24 16:48:30 +00:00
David Langley
79a8652308
Fix unit tests concurrency group naming.
Co-authored-by: Michael Kaye <1917473+michaelkaye@users.noreply.github.com>
2022-02-24 16:31:17 +00:00
David Langley
9832f1e8e8
Add matrix.target to apk-lint concurrency group for develop branch.
Co-authored-by: Michael Kaye <1917473+michaelkaye@users.noreply.github.com>
2022-02-24 16:28:14 +00:00
David Langley
8fc1f3c1aa
Fix ktlint typo
Co-authored-by: Michael Kaye <1917473+michaelkaye@users.noreply.github.com>
2022-02-24 16:26:22 +00:00
Michael Kaye
4d86f5f2fd Correct name of script 2022-02-24 14:48:02 +00:00
Michael Kaye
fbf29f6f1e Quick hack python to render the xml test output including times in a easy to read format. 2022-02-24 14:47:23 +00:00
Michael Kaye
12a0b3c164
Merge pull request #5329 from vector-im/michaelk/fail_integration_tests
Allow integration tasks to fail, but use if: always() to allow the next step to continue anyway.
2022-02-24 14:01:13 +00:00
Michael Kaye
a8390ad451
Merge pull request #5324 from vector-im/michaelk/rely_on_setup-python_cache
Rely on setup python cache and tidy up python actions
2022-02-24 09:54:12 +00:00
David Langley
d4a423b382 Fix spacing 2022-02-24 09:30:28 +00:00
David Langley
93c6216269 Add descriptions of concurrencies 2022-02-23 23:13:30 +00:00
David Langley
de7a572329 noop to test cancel 2022-02-23 23:05:34 +00:00
David Langley
d561ad6acd include matrix.target in apk-lint group 2022-02-23 23:04:18 +00:00
David Langley
80fd816d66 test cancel with noop 2022-02-23 23:00:22 +00:00
David Langley
cf7417d544 Have to inline it as can't use env vars in other env vars. 2022-02-23 22:58:51 +00:00
David Langley
355931a592 add env prefix. 2022-02-23 22:42:11 +00:00
David Langley
8c65285ec5 try multiline expression for group sufficx 2022-02-23 22:37:19 +00:00
David Langley
43c125ed32 Use matrix.target to fix build group. Use env vars to clean up. 2022-02-23 22:16:24 +00:00
David Langley
edb92f85c5 noop to test cancel 2022-02-23 18:12:43 +00:00
David Langley
639774662a Add concurrency checks for unit tests, build and quality checks. 2022-02-23 18:11:46 +00:00
David Langley
5bbd6769b9 noop to test cancel 2022-02-23 18:02:59 +00:00
David Langley
ac4d748c8c Add concurrency to integration tests. 2022-02-23 18:01:22 +00:00
Michael Kaye
9e7079dff6 Move from continue_on_error to if: always().
This will allow previous steps to explicitly fail and be marked as failed
but later steps will continue to run in order to display the outcomes.

(there's probably a better way to do this, but this will at least start
to expose the errors in the UI)
2022-02-23 18:00:54 +00:00
Michael Kaye
c2a67a03a4 Do not run synapse in a venv.
We do not need to, so simplify the configuration.
2022-02-23 16:01:22 +00:00
Michael Kaye
5c4ca79888 Remove use of explicit pip cache.
We use setup-python to install the python we use, which has inbuilt
caching of python dependencies.

https://github.com/actions/setup-python#caching-packages-dependencies
2022-02-23 15:59:43 +00:00
Michael Kaye
0bb47200c7 Do not install synapse only matrix-synapse.
Synapse is something entirely different:

https://pypi.org/project/synapse/
2022-02-23 15:58:05 +00:00
Michael Kaye
bd8d71c420 Notify channel on sanity test result 2022-02-23 10:26:46 +00:00
Michael Kaye
66b30c33c8 Improve reliability of sanity tests.
We add the permission so we can write to the external storage with the screenshots
We rename the screenshots so they can be uploaded via the github action correctly

We always do the upload even if the test build has failed.
2022-02-18 14:38:22 +00:00
Michael Kaye
c224a4b813 Make sanity_test.yml use same configuration as integration_test.yml
This makes it easier to reason about emulator failures.
2022-02-11 15:28:16 +00:00
ganfra
fd89acc112
Merge pull request #5144 from vector-im/feature/mna/update-pr-template
Updating PR template description
2022-02-10 19:36:27 +01:00
daniellekirkwood
4e355665ed
Fix WTF automation 2022-02-07 10:15:49 +00:00
daniellekirkwood
4b7dcf634f
Add automation for WTF labels to WTF board 2022-02-03 16:39:11 +00:00
daniellekirkwood
0dce0ad0bb
Merge branch 'vector-im:develop' into develop 2022-02-03 16:37:46 +00:00
Maxime Naturel
28ea600e0d Updating PR template description 2022-02-03 14:18:16 +01:00
Benoit Marty
78fda0ca9d
typo 2022-02-02 18:43:49 +01:00
Benoit Marty
6922c72174 Update the release recipe 2022-02-02 15:41:54 +01:00
daniellekirkwood
9a303ec923
Update workflow for FTUE issues on FTUE board 2022-02-01 17:54:58 +00:00
ariskotsomitopoulos
8e90864e1f add changelog file for threads feature 2022-02-01 17:37:05 +02:00
Benoit Marty
d61a083039
Merge pull request #4963 from vector-im/feature/bma/template
Add case for local or non public homeserver.
2022-01-25 11:08:29 +01:00
Benoit Marty
6862889d8c
Update .github/ISSUE_TEMPLATE/bug.yml 2022-01-25 11:07:57 +01:00
Ekaterina Gerasimova
eebb7003ca Fix conditional for Delight issue automation
Changelog entry 4949.misc
2022-01-20 10:48:45 +00:00
Ekaterina Gerasimova
d7b919a8a1 Enable Delight issue automation
With the new board, we can filter well enough that we can get issues
ready for a future Android developer!

Changelog entry 4949.misc
2022-01-19 21:54:38 +00:00
Aris Kotsomitopoulos
312c4b1914
Update dependabot.yml
Ignore all versions of github-script while not possible to ignore a specific version
2022-01-19 14:18:16 +02:00
ariskotsomitopoulos
8d0299e411 Ignore dependabot upgrade for @github-script@v3 2022-01-19 12:46:22 +02:00
Ekaterina Gerasimova
8af92a4091 Sync issue automation with element-web
Add automation for
* labelling Labs issues
* adding design and product issues to boards
* adding design and product PRs to boards
* adding UISI issues to Crypto team board

Fixes issue #4949
2022-01-18 13:24:58 +00:00
Benoit Marty
23eb8ead4f Add case for local or non public homeserver. 2022-01-17 16:30:43 +01:00
Benoit Marty
f8afe04a3b
Merge pull request #4842 from vector-im/feature/aris/integration_tests_improvement
Trying to fix integration tests
2022-01-12 17:11:16 +01:00
Aris Kotsomitopoulos
24a1afddd9
Revert "Bump actions/github-script from 3 to 5.1.0" 2022-01-11 16:31:24 +02:00
dependabot[bot]
48944eabcc
Bump actions/github-script from 3 to 5.1.0
Bumps [actions/github-script](https://github.com/actions/github-script) from 3 to 5.1.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v3...v5.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 23:03:21 +00:00
ariskotsomitopoulos
71fbc3c5c7 - Do not add GitHub comments on successful ktlint runs
- Remove already existing comments when ktlint succeed
2022-01-10 13:07:18 +02:00
ariskotsomitopoulos
5b6e70b1b4 While abortOnError = true for linter, lets always build the reports on error 2022-01-07 16:32:18 +02:00
Aris Kotsomitopoulos
e2616ba095
Update integration_tests.yml
Undo 1 core usage
Undo force-avd-creation
2022-01-07 13:59:43 +02:00
ariskotsomitopoulos
2c8015c88f try with force-avd-creation = true 2022-01-07 12:44:09 +02:00
ariskotsomitopoulos
34efd91683 Use 1 core for the emulator 2022-01-07 11:07:21 +02:00
ariskotsomitopoulos
41bf1ccc07 Remove adb timeout 2022-01-07 11:03:54 +02:00
ariskotsomitopoulos
52c8a138d3 fix typo 2022-01-06 00:38:05 +02:00
ariskotsomitopoulos
33a4eac7d2 - Fix github actions ktlint reports
- Publish results on PR via commenting
- Support for all modules along with tests
- Code format & emoticons
2022-01-06 00:26:47 +02:00
ariskotsomitopoulos
261030f51e - Fix integration tests (still not perfect while github actions are very very limited for that)
- Split them in msdk and app test along with multiple smaller steps.
- Mark the not working tests with @Ignore so that they will not run neither local or on github actions
- Add user friendly comment on PR to view the results
2022-01-05 23:42:57 +02:00
Florian Renaud
eb9fc579d3 Fix malformed comments and code review 2022-01-05 09:19:59 +00:00
Florian Renaud
60ecd50e61 Skip issue triage actions in forks 2022-01-05 09:19:59 +00:00