Commit graph

211 commits

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