Commit graph

458 commits

Author SHA1 Message Date
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
Benoit Marty
54d76af54b
Revert "Skip issue triage GitHub actions in forks" 2022-01-03 15:17:34 +01:00
Florian Renaud
58f7c83f4e Skip issue triage actions in forks 2021-12-17 17:19:44 +01:00
Benoit Marty
a40e60ba8f Merge branch 'develop' into feature/bma/posthog 2021-12-13 23:18:14 +01:00
Ekaterina Gerasimova
8fefee9b02 Fix graphql warning in issue automation workflow
Fixes #4671
2021-12-10 08:52:08 +00:00
daniellekirkwood
2c8cc3e16d
Add automation to move messages bubbles issues to the message bubbles board (#4667)
* Add automation to move message bubbles issues to bubbles board

* Add changelog entry

Changelog entry to note new automation to move message bubbles issues to message bubbles board
2021-12-09 15:20:10 +00:00
Ekaterina Gerasimova
ed6e7a12ad Remove automation for new Delight board
There's no Android developer on the Delight team right now, so it makes
sense to redirect Spaces issues to the Android team.

Covered by the 4617.misc changelog entry.
2021-12-09 11:26:09 +00:00
Ekaterina Gerasimova
ad1fbab956 Remove automation for old Delight board
Covered by 4617.misc changelog entry
2021-12-09 11:26:09 +00:00
Benoit Marty
673cbb29de Merge branch 'develop' into feature/bma/posthog 2021-12-07 14:26:31 +01:00
Ekaterina Gerasimova
1aa532178e Issue workflow: Split out spaces jobs for new and old boards 2021-12-03 10:01:25 +00:00
Ekaterina Gerasimova
c89c0dcbd2 Issue workflow: fix filtering for Design issues 2021-12-03 10:01:25 +00:00
Ekaterina Gerasimova
3778603c4d Issue workflow: improve naming for jobs 2021-12-03 10:01:25 +00:00
Benoit Marty
5ab18dfd6d Add automation to import the plan 2021-12-02 14:10:03 +01:00
Adam Brown
b9e7357e04 using Pixel 5 profile and ensuring jobs stay marked as failed after collecting screenshots and logs 2021-11-18 17:49:35 +00:00
yostyle
bf3bf6a509 Disable sync data jobs in forks 2021-11-18 17:03:37 +01:00
Ekaterina Gerasimova
36c312b1a6 Add issue workflow automation for Threads
Fixes #4461

Covered by changelog entry 4435.misc
2021-11-17 09:41:34 +00:00
Benoit Marty
10ec6e7435
Merge pull request #4257 from opusforlife2/FR_template
Remove redundant text in feature request issue form
2021-11-16 13:34:44 +01:00
Ekaterina Gerasimova
baed0dcb3e Move P1 issues to app team and crypto boards 2021-11-16 11:09:12 +00:00
Benoit Marty
63683a3ce5
Merge pull request #4452 from kittykat/issue-template
Bring the bug issue template in line with web
2021-11-15 11:03:47 +01:00
Benoit Marty
087a987f88
Merge pull request #4443 from kittykat/actions
Actions: fix up triage conditionals
2021-11-15 09:51:45 +01:00
opusforlife2
556275b208
Address PR review 2021-11-12 15:46:16 +00:00
Ekaterina Gerasimova
3d86c10132 Bring the bug issue template in line with web
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-11 08:38:14 +00:00
Adam Brown
9152c39c73 adding logcat output to the sanity artifacts 2021-11-10 17:07:10 +00:00
Adam Brown
968d8e413a using adb root for pulling off emulator files as per https://github.com/ReactiveCircus/android-emulator-runner/issues/102#issuecomment-963866536
- also uses emulated directory instead of sdcard
2021-11-10 17:07:10 +00:00
Adam Brown
992c3d8a13 updating emulator to use api 29 due to storage differences 2021-11-10 17:07:10 +00:00
Adam Brown
0ab5734c53 using single line for the emulator script, doesn't seem to support multiline 2021-11-10 17:07:10 +00:00
Adam Brown
70dd3e5cb9 adding missing indentation 2021-11-10 17:07:10 +00:00
Adam Brown
918042c231 adding github action emulator optimisations 2021-11-10 17:07:10 +00:00
Adam Brown
0a1f4dd69f adding screenshot pulling and storing as part of the sanity workflow 2021-11-10 17:07:10 +00:00
Ekaterina Gerasimova
e923d94d6c Actions: fix up triage conditionals
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-10 13:03:01 +00:00
Ekaterina Gerasimova
270d55dfb4 Actions: move Voice message issues to their board
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-09 19:35:34 +00:00
Ekaterina Gerasimova
5b414b848e Add more actions to move issues around
Rename triage-needs-info to triage-move-labelled, add workflows for
Design, Delight (old and new board) and X-Needs-Info

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-09 19:35:34 +00:00
Ekaterina Gerasimova
c55d1117e5 Actions: reference commits rather than tags
It's better to reference commits because the tags can be moved to
reference other commits.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-09 19:35:34 +00:00
Adam Brown
9e9698520a updating synapse start script to also override the homeserver url and fixing wrong argument placement 2021-11-08 15:18:29 +00:00
Adam Brown
75f8023cb3 running the sanity test on the hardware accelerating osx runner, will drastically reduce the run time and be more reliable 2021-11-08 15:14:18 +00:00
Adam Brown
48ebb8e416 scheduling the sanity tests to run nightly instead of via push 2021-11-08 15:11:25 +00:00
Adam Brown
79de7be141 letting dependabot ignore the zxing dependency, it appears the author does not intend to support older versions of android in the new versions of the library 2021-10-28 16:21:17 +01:00
opusforlife2
bbc0a84af0
Remove redundant text in feature request template
Same deal as PR #4076.
2021-10-15 19:45:47 +00:00
Benoit Marty
ac63369a59
Merge pull request #4251 from kittykat/issue-board
Add issue triage automation
2021-10-15 10:29:43 +02:00
Benoit Marty
91d2ef456e
Update location of sign off documentation 2021-10-15 10:27:22 +02:00
Ekaterina Gerasimova
59a3b84c1d Add issue triage automation
Fixes #4250

Move new issues into incoming column and move X-Needs-Info into Need info column on the vector-im/element-android/projects/4 board

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-10-15 09:20:31 +01:00
Benoit Marty
0292afb537
Merge pull request #4216 from vector-im/feature/aris/issue_3902_add_scripts_to_ci
Feature/aris/issue_3902_add_scripts_to_ci
2021-10-12 14:53:23 +02:00
ariskotsomitopoulos
2b2f5be83e Fix typo in filename 2021-10-12 15:51:27 +03:00
Ekaterina Gerasimova
8cea340100 Update defect issue template to improve wording
Improve wording around rageshakes based on feedback.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-10-12 10:26:10 +01:00
Aris Kotsomitopoulos
d26340993f
Update release.yml
Removed ./tools/import_emojis.py and ./tools/import_sas_strings.py from the release template while now there is an automated cron job in GitHub Action to run the scripts
2021-10-12 11:45:34 +03:00
ariskotsomitopoulos
dcf98d93e6 Remove BeautifulSoup4 dependency 2021-10-12 11:37:00 +03:00
ariskotsomitopoulos
6cee8871f3 Create a new cron Github Action workflow for syncing emojis & sas strings. It will run every Monday at 00:00. It will open two PRs and will be able to optimal update/delete them according to changes with the base branch 2021-10-11 17:51:52 +03:00
Benoit Marty
5fdaa45246 klint -> ktlint 2021-10-07 10:36:38 +02:00
opusforlife2
58b69b1fe4
Remove redundancy in heading in bug report issue form 2021-10-05 14:35:34 +01:00
Benoit Marty
03bdcee3ad Install ktlint plugin 2021-10-01 13:31:15 +02:00
Ekaterina Gerasimova
77486abbd9 Fix release label in release issue template
https://github.com/vector-im/element-android/issues/4113

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-09-29 13:12:43 +01:00
Benoit Marty
6d91482da1
Merge pull request #4013 from vector-im/feature/bma/a11y_guidelines
Update pull request checklist
2021-09-28 10:01:13 +02:00
Benoit Marty
224aac7c73 Small change in the recipe to release the SDK 2021-09-27 15:41:17 +02:00
Aris Kotsomitopoulos
e8009953d6
Preventing Dependabot to publish unit test results 2021-09-24 11:14:57 +03:00
ariskotsomitopoulos
3447c05b00 Reduce the number of api-level in integration tests until they can run properly in CI/CD 2021-09-14 19:17:24 +03:00
Benoit Marty
2badb9725d Improve pull request checklist and notice 2021-09-14 15:56:04 +02:00
ariskotsomitopoulos
c9b294f737 Remove unused commented lines 2021-09-14 10:45:29 +03:00
ariskotsomitopoulos
fe1d9aa589 - Optimize build time for local builds
- Enhance CI/CD workflows (7GB Ram, 2CPU) by adding custom gradle arguments to properly run
- Add unit test UI comment representation plugin
2021-09-13 19:03:35 +03:00
Benoit Marty
ea6c8a6981
Merge pull request #3993 from vector-im/feature/bma/fix_for_the_sdk
Add code necessary to release the SDK
2021-09-10 16:23:17 +02:00
Benoit Marty
8d7cd183b4 Update the recipe to upload to MavenCentral.
In the future the CI will do that, but keep it manual for now.
2021-09-10 16:22:19 +02:00
Benoit Marty
6a1409ba59 Better management of SDK version 2021-09-09 09:55:24 +02:00
Benoit Marty
167298735e
Merge pull request #3921 from vector-im/feature/bma/integ_test_fix
Test on intermediate API levels
2021-09-06 09:57:20 +02:00
Benoit Marty
1fdc5fd3d9
Merge pull request #3960 from kittykat/issue-template
Issue templates: merge expected and actual results
2021-09-03 17:27:23 +02:00
Ekaterina Gerasimova
b566779a6d Issue templates: merge expected and actual results
Feedback received asking to merge templates so they take up less space
and are quicker for developers to fill.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-09-03 16:21:35 +01:00
Benoit Marty
75daeb7699 Add sanity test GitHub action
API 28 for now
2021-09-03 17:02:14 +02:00
Benoit Marty
99cb51af6b Test on intermediate API levels 2021-09-03 17:02:14 +02:00
Benoit Marty
08538153a5 Temporary add build of Android tests, which cannot be run on the CI right now, but they need to at least compile 2021-09-03 10:29:22 +02:00
Benoit Marty
cdd3006094 Lint for Gplay and Fdroid release APK
More issues can be detected.
2021-09-03 09:42:53 +02:00
Benoit Marty
ec6bae6b1e Lint now check all the modules, but is does not check all the variants. Let's keep it like that for now
https://developer.android.com/studio/releases/gradle-plugin#running_lint_on_default_variant_only
2021-09-02 10:43:33 +02:00
Benoit Marty
7d37ff5eda
Merge pull request #3782 from vector-im/gha-integration-debug
ci: disable fail-fast for integration tests
2021-08-31 10:42:58 +02:00
Ekaterina Gerasimova
5a65341e82 Issue templates: replace SDK and release checklist
Remove old Markdown templates and replace with new YAML templates.
Improve wording slightly, add links.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-08-26 09:36:19 +01:00
Ekaterina Gerasimova
ea986dbac7 Issue templates: add question about homeserver
Some issues are related to homeserver, version or settings.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-08-25 14:52:37 +01:00
Ekaterina Gerasimova
4d413e0afd Issue triage: remove old templates, add new ones
Remove the old style Markdown templates and replace with new style yaml
templates. New templates match those used in element-web.

Note that issue labels will been to be renamed to match element-web
before this PR can be merged.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-08-23 22:54:38 +01:00
Arun Babu Neelicattu
1eacc09482
ci: disable fail-fast for integration tests 2021-08-03 16:12:51 +02:00
Benoit Marty
c21625079e Improve the template 2021-07-19 12:34:44 +02:00
Benoit Marty
1cb93b60c2 Update issue templates 2021-07-06 17:04:38 +02:00
Benoit Marty
eea18fb71c Rename towncrier folder from newsfragment to changelog.d 2021-06-18 21:33:50 +02:00
Benoit Marty
6240910b90 Configure towncrier tools - Update documentation 2021-05-20 16:53:26 +02:00
Benoit Marty
9e795894be Change command to run connected tests 2021-05-19 18:16:05 +02:00
Benoit Marty
c437ed394d No need to build Android test, it's done by integration workflow 2021-05-19 17:48:12 +02:00
Benoit Marty
974c7ef8d9 Run test on API 21 and API 30, and disable rate limiting on Synapse 2021-05-19 17:45:47 +02:00
Benoit Marty
fa6aaca67a Fix some typo 2021-05-19 17:38:32 +02:00
Benoit Marty
b5f7abda48 master -> main 2021-05-19 17:26:38 +02:00
Benoit Marty
619e8cca37 typo 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
7db5c66f2c ci: fix integration test config api-level 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
33b2100842 ci: fix integration test config syntax 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
112a160725 ci: enable android emulator 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
d926890c79 ci: ignore warnings for integration tests 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
1fac4dfe3e ci: clean up naming 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
62ca8d87dc ci: setup synapse server manually 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
c39a8caaed ci: disable integration health checks 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
bebd84d1f5 ci: add integration tests 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
f0adf29d12 ci: split out apk linting 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
209a9b09c7 ci: fix typo in naming 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
55912ef49d ci: cache debug apk linting reports on failure 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
467d3e764e ci: do not fail fast on debug apk builds 2021-05-19 17:26:38 +02:00
Arun Babu Neelicattu
ff1d8c310e ci: add initial github actions pipelines 2021-05-19 17:26:38 +02:00
Jonathan de Jong
c998f5fd8f whoops 2021-03-14 19:20:35 +01:00
Jonathan de Jong
cb0445c785 Change bold to headers 2021-03-14 19:14:53 +01:00
Benoit Marty
5710dd6d01 Increase again for the WE 2021-02-20 00:24:41 +01:00
Benoit Marty
bb99477c13 increase limit 2021-02-20 00:20:54 +01:00
Benoit Marty
a123c6694c Create dependabot.yml - valid yaml 2 2021-02-19 22:51:35 +01:00
Benoit Marty
ba5192026e Create dependabot.yml - valid yaml 2021-02-19 22:50:42 +01:00
Benoit Marty
b27aa523ba
Create dependabot.yml 2021-02-19 22:47:36 +01:00
Cristian Greco
62f620f79b Add workflow for Update Gradle Wrapper Action.
This action keeps Gradle Wrapper up-to-date to the latest release. It
will run every day at midnight (UTC) and create a pull request if a new
Gradle version is available. The updated Wrapper script is validated
(with checksum verification) during the update process, and the Wrapper
is setup so that it will validate the Gradle binary itself on first run
of the new version.

Signed-off-by: Cristian Greco <cristian@regolo.cc>
2020-09-24 11:19:28 +02:00
Benoit Marty
d29d1ead9b Update issue templates 2020-09-17 16:58:43 +02:00
Benoit Marty
02145eaa06 Github repository has been renamed 2020-08-27 18:16:29 +02:00
Tilo Spannagel
861b379992 Official Gradle Wrapper Validation Action
See: https://github.com/gradle/wrapper-validation-action

Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-08-18 00:49:17 +02:00
Benoit Marty
ebc7db2bc2 Update issue templates 2020-08-11 09:45:47 +02:00
Benoit Marty
b8b8a12035 Update issue templates 2020-08-05 22:05:13 +02:00
Benoit Marty
087c5cb77c Update issue templates 2020-08-05 22:02:57 +02:00
Benoit Marty
64d000ec53
Update PULL_REQUEST_TEMPLATE.md 2020-08-03 17:29:07 +02:00
Benoit Marty
96d6b75037 Fix broken link 2020-01-16 10:57:08 +01:00
Benoit Marty
a199eaa171 Setup various tools 2019-03-13 17:00:30 +01:00