Commit Graph

177 Commits

Author SHA1 Message Date
Doug
eda1e844d2 Don't assert specific devices for accessibility tests and use iOS 18 again. (#4741)
* Don't assert specific devices for accessibility tests.

It's not as critical as UI/Preview tests as nothing is snapshotted.

* Extend the timeout for accessibility tests.

They're slow 😅

* Drop back to iOS 18.5 for accessibility tests (for now).
2025-11-13 10:34:36 +00:00
renovate[bot]
45b1e71e05 Update actions/checkout action to v5 2025-11-07 14:53:30 +02:00
Stefan Ceriu
fadf5bf685 Switch to using a SHA instead of the action version 2025-11-07 14:51:33 +02:00
Stefan Ceriu
46fbd81762 Try moving danger swift to an ubuntu runner 2025-11-07 14:51:33 +02:00
Doug
231185e673 Add timeouts to our GitHub actions. (#4669)
6 hours is way too long and eats up the runners.
2025-10-28 18:37:15 +00:00
renovate[bot]
34d746c487 Update dependency SFSafeSymbols/SFSafeSymbols to v7 (#4659)
* Update dependency SFSafeSymbols/SFSafeSymbols to v7

* Update all the Package.resolved files and fix simulator.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2025-10-28 09:13:04 +00:00
renovate[bot]
6c9a8a7bfa Update actions/upload-artifact action to v5 2025-10-27 10:10:37 +01:00
Michael Telatynski
74c28d66ea Configure concurrency for Danger CI workflow (#4646)
Added concurrency settings to Danger workflow.
2025-10-22 09:58:16 +01:00
Doug
f2a24853b4 Only run Compound tests when files are changed in Compound. (#4611)
* Only run Compound tests when files are changed in Compound.

* Fix warnings about missing spacing.

* Fix warnings about inner type shadowing.
2025-10-10 14:30:51 +01:00
Doug
886f35ed5c A couple of small tweaks. (#4569)
* Stop ignoring the safe area with the suggestions view.

They weren't visible on iPad (hidden behind the sidebar) and I can't find any instance when they're shown where the safe area comes into play.

* Make sure the room list deselects the cell when dismissed a room.

* Use the backports pattern in more places.

* Fix the annoying header on macOS.

* Silence some warnings

* Fix compound CI branch name.
2025-10-03 12:09:17 +01:00
Doug
4c5e44babe Update CI to support Compound. 2025-09-29 10:41:01 +01:00
Stefan Ceriu
0519ef9c9b Switch all workflow runners back to macos-15 in hope that it will require less ram and won't time out. 2025-09-29 12:37:28 +03:00
Stefan Ceriu
4e27af3c36 Fix integration tests for Xcode 26 2025-09-26 17:20:41 +03:00
Stefan Ceriu
a607e992c1 Fix UI tests for Xcode 26 2025-09-26 17:20:41 +03:00
Stefan Ceriu
c5792d4a79 Switch the enterprise tests to the xlarge runner as well. 2025-09-26 17:20:41 +03:00
Stefan Ceriu
69d117035e Check if the preview tests time out on the macos-26-xlarge runner too. 2025-09-26 17:20:41 +03:00
Stefan Ceriu
8cdb36d887 Switch workflows to the macos-26 runner 2025-09-26 17:20:41 +03:00
renovate[bot]
c461e8011e Update actions/github-script action to v8 (#4471)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 18:39:18 +01:00
renovate[bot]
62a8414a60 Update actions/checkout action to v5 (#4401)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 18:00:27 +01:00
Mauro
a18eff9201 Accessibiliy Tests part 2 (#4325)
* running all the tests

* setting up CI

* fixed the workflow

* workflow on pull request, just to make it appear

* removed the test to run var

* fix archived tests name

* improved the tests, by filtering out some noise

* pr suggestions and added an improvement to the filtering

* improved the interrupt handler

* improved the UI interruption monitor handler

* some more refinement to handle the interruptor + false positive for non human readable labels

* reverted wrong commit

* ready for review, removed the on pull request check

* pr suggestions
2025-07-18 10:33:45 +02:00
Doug
22d58bcb7d Fix the calver workflow. (#4274)
Commit the *contents* of the xcodeproj as it's a bundle.
2025-07-01 09:16:10 +01:00
Doug
8bc97b6585 Run Xcode select on the Translations and CalVer workflows. (#4224)
* Run Xcode select on the Translations and CalVer workflows.

* Use ci_common.sh for xcode-select instead.
2025-06-18 16:53:32 +01:00
Doug
a1b4189c0d Add a section for pr-a11y in the release notes. (#4223) 2025-06-18 14:38:14 +01:00
Doug
ea4f1ba9f3 Automatically open a PR to bump the calver (#4167)
* Update our tools package to Swift 6.1

Also improves the package layout with subdirectories 📁

* Update GenerateSDKMocks to be an Async command.

* Add a tool to bump the project CalVer every month.

* Add a workflow to automatically bump the calendar version.

Note: This only does year & month, the patch is handled by the release script.
2025-06-03 17:52:16 +01:00
Doug
e997dd4286 Make sure UI tests are run to completion on the remaining device, even if the other one fails. (#4164) 2025-06-03 09:45:06 +01:00
Robin
5ee50faff8 Run the 'Prevent blocked' check whenever a PR branch is updated (#4155)
Because we're now requiring the 'Prevent blocked' check to pass before merging a PR, GitHub Actions apparently expects it to be associated with the latest Git ref of the PR's branch whenever the branch is updated. Therefore we need to re-run the workflow on the 'synchronize' event.
2025-05-29 09:53:07 +01:00
renovate[bot]
937747bb5e Update codecov/test-results-action action to v1.1.1 2025-05-23 09:35:44 +03:00
Stefan Ceriu
4ccd2f9096 Remove support for building Alpha/PR (adhoc) builds.
We've haven't really been using these and they're proving to be quite a chore to keep running.
Also, we recently needed an external demo build and we chose to go with custom build on top of testflight instead.

As such it's been decided that we can go ahead and remove them.
2025-05-12 15:07:46 +03:00
Doug
f1b0ca7739 Run the UI & Integration tests once a day instead of twice with a 6 hour offset. (#4086) 2025-05-02 13:12:49 +01:00
Doug
834f62503e Fix the UI tests. (#4085)
* Compile errors 😬

* Update server selection snapshots.

The default footer string has changed.

* Remove the TemplateScreen UI tests.

We use preview tests for snapshots now, UI tests are for flow coordinators.

* Add the same looping on the OIDC UI test (but disable the test in the end).

* Run UI tests separately for iPhone and iPad.

GitHub runners don't seem to have enough memory to handle 2 simulators at once.
2025-05-02 12:47:31 +01:00
Mauro Romito
72fa104fca run integration tests on gh ci
possible fix

possible fix

Revert "possible fix"

This reverts commit 6484648153bf8f05485050f544b136e6ca9f0be9.

Revert "possible fix"

This reverts commit abb3a58c630bb0abab7c86a31be022496d4f3b4c.

possible fix

possible solution using ui interrupt monitor

Revert "possible solution using ui interrupt monitor"

This reverts commit ed28c85a37744e615c4bc464b3e8962d8c953be9.

possible fix

Revert "possible fix"

This reverts commit 43039e73c1e1b70493f2e22aa20f925257d2e6de.

fix
2025-04-29 13:42:09 +02:00
Mauro
ec504ba2b0 Run UI Tests on GH CI (#4072)
* run ui-tests on GH CI

* Update .github/workflows/ui_tests.yml

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2025-04-28 14:17:54 +02:00
Benoit Marty
bab208fa18 Workflow filename name change (#4065) 2025-04-25 17:46:29 +01:00
Mauro
a02972c9f9 Xcode16.3 support (#4029)
* Xcode16.3 support + updated unit and preview test
2025-04-16 19:12:31 +02:00
Doug
9e3ff56909 Fix the post-release workflow. (#3996) 2025-04-08 17:24:55 +01:00
Doug
04bc696067 Vendor our StaticCode pkl package inside the project. (#3993)
* Vendor our StaticCode pkl package inside the project.

* Update the Enterprise submodule.
2025-04-08 11:23:54 +01:00
renovate[bot]
d6efca4afd Update actions/github-script action to v7 (#3988)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 15:29:44 +01:00
Doug
f11bdd8906 Add support URLs to the app setting overrides. (#3987)
* Add support URLs to the app setting overrides.

* Use a cache for pkl packages.

* Remove the fake secrets from enterprise unit tests.
2025-04-07 15:29:11 +01:00
Doug
86e8fb8194 Add a post-release workflow. (#3986) 2025-04-07 14:48:20 +01:00
renovate[bot]
a515b993bd Update apple-actions/import-codesign-certs digest to cfd6eb3 2025-03-25 08:58:15 +02:00
Stefan Ceriu
c57ff34b13 Revert codecov/codecov-action changes and add allowedVersions renovate rule. 2025-03-24 13:37:17 +02:00
renovate[bot]
4552e9ba3f Update GitHub Actions to v5 2025-03-24 13:37:17 +02:00
Doug
c1707d36d2 Stop CI from uploading Codecov results when a PR comes from a fork. (#3917)
Also fix the condition used on the Enterprise tests.
2025-03-20 08:45:38 +00:00
Robin
bb8b9d8967 Run the 'prevent blocked' workflow even if PR has conflicts (#3914)
See the description of pull_request versus pull_request_target documented at https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request.
2025-03-19 11:44:41 +00:00
renovate[bot]
6825e21e0f Update codecov/codecov-action action to v3.1.6 2025-03-19 08:39:11 +02:00
Stefan Ceriu
a6daebfe59 Pin all 3rd party github actions to their full length commit SHA
- this is the recommended security practice as per https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
2025-03-19 08:22:09 +02:00
Doug
bee7635537 Rename the Enterprise variant to Pro. (#3877) 2025-03-07 13:47:11 +00:00
Robin
f31a71c6e2 Prevent PRs with the X-Blocked label from being merged (#3864)
Just a small CI suggestion: X-Blocked is useful for requesting review on a change while ensuring it won't be merged until all external dependencies are accounted for, and it'd be nice to have this enforced more consistently across the org.
Adapted from matrix-js-sdk (https://github.com/matrix-org/matrix-js-sdk/blob/develop/.github/workflows/pull_request.yaml)
2025-03-04 13:01:39 +01:00
Doug
b249f0449a Configure diagnostics (and MapLibre) using Pkl. (#3820)
* Bump the version for the next release.

* Ignore all generated sources.

* Use Pkl+XcodeGen to inject secrets instead of the project.

* Inject the PostHog/Sentry/Rageshake configuration from the environment.

* Fix bad unicode.

* Fix unit tests.
2025-02-24 18:36:08 +00:00
Doug
569ed4e94a Delete dependabot.yml - it doesn't work for Xcode projects (or XcodeGen). (#3757)
https://github.com/dependabot/dependabot-core/issues/7694
2025-02-07 10:47:00 +00:00