Commit Graph

176 Commits

Author SHA1 Message Date
Stefan Ceriu
16b5f7adca Converge on same comments and behaviours for forks and cancelled runs. 2025-12-16 17:57:30 +02:00
Stefan Ceriu
cc88353384 Remove unnecessary Codecov CLI version argument 2025-12-16 17:57:30 +02:00
Stefan Ceriu
9dc0b513c6 Replace the now deprecated codecov/test-results-action
As per https://github.com/codecov/test-results-action/pull/129
2025-12-16 17:57:30 +02:00
renovate[bot]
b66f7ff040 Update codecov/test-results-action action to v1.2.1 2025-12-16 08:53:19 +02:00
renovate[bot]
e23d6f2526 Update actions/upload-artifact action to v6 2025-12-13 09:41:59 +02:00
renovate[bot]
f6cdb10623 Update actions/cache action to v5 2025-12-12 09:30:05 +02:00
renovate[bot]
f70ec430f2 Update peter-evans/create-pull-request action to v8 2025-12-10 08:32:31 +02:00
renovate[bot]
e13d6915c6 Update GitHub Actions 2025-12-07 11:22:49 +02:00
Mauro Romito
8f10fdb8ad use 26.1.1 for compound ios tests on CI 2025-11-28 13:27:45 +01:00
renovate[bot]
1ec5a53a41 Update peter-evans/create-pull-request action to v7.0.9 2025-11-24 11:18:01 +02:00
renovate[bot]
4ec364e215 Update actions/checkout action to v6 2025-11-21 14:56:18 +02:00
Stefan Ceriu
257c565f23 Switch the integration tests to the macos-26 runner
Fixes `No simulators found that are equal to the version of specifier (26.1) and greater than or equal to the version of deployment target (0)` errors
2025-11-21 11:14:06 +02:00
Mauro
ebbaeedb0a Rename snapshots (#4756)
* renaming snapshots so that it's easier to diff them when an upgrade happens.

* fix macOS runner version for the compound tests

* os version update in the yml

* possible fix to run compound-ios tests
2025-11-17 16:46:51 +00:00
Mauro
b0403d2b9f Run CI with Xcode 26.1 RC (#4672)
* Use Xcode 26.1 RC on CI

* regenerated previews with 26.1

* ui tests

* fix

* fix some iPad tests rendering

* remove useless fastlane line

---------

Co-authored-by: Doug <douglase@element.io>
2025-11-17 12:30:57 +01:00
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
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