Commit Graph

20 Commits

Author SHA1 Message Date
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
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
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
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
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
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 75daeb7699 Add sanity test GitHub action
API 28 for now
2021-09-03 17:02:14 +02:00