Commit graph

120 commits

Author SHA1 Message Date
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
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
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
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
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
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