Commit Graph

170 Commits

Author SHA1 Message Date
renovate[bot] 2f83afdea9 Update peter-evans/create-pull-request action to v8 2025-12-10 08:32:31 +02:00
renovate[bot] fe9722a6bb Update GitHub Actions 2025-12-07 11:22:49 +02:00
Mauro Romito af561442ee use 26.1.1 for compound ios tests on CI 2025-11-28 13:27:45 +01:00
renovate[bot] e7f55a9921 Update peter-evans/create-pull-request action to v7.0.9 2025-11-24 11:18:01 +02:00
renovate[bot] bfa287b3f8 Update actions/checkout action to v6 2025-11-21 14:56:18 +02:00
Stefan Ceriu 99bc0b483c 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 7fe67f000e 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 b725100cc1 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 ad7ae3641d 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] df3a74671f Update actions/checkout action to v5 2025-11-07 14:53:30 +02:00
Stefan Ceriu ab4812e06f Switch to using a SHA instead of the action version 2025-11-07 14:51:33 +02:00
Stefan Ceriu e2be27d873 Try moving danger swift to an ubuntu runner 2025-11-07 14:51:33 +02:00
Doug 9cd181ef74 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] 4158971e6d 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] f3415e4ef1 Update actions/upload-artifact action to v5 2025-10-27 10:10:37 +01:00
Michael Telatynski c55c5a677b Configure concurrency for Danger CI workflow (#4646)
Added concurrency settings to Danger workflow.
2025-10-22 09:58:16 +01:00
Doug db6aa06ec1 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 6377d9be67 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 1f7c324077 Update CI to support Compound. 2025-09-29 10:41:01 +01:00
Stefan Ceriu 9874d6fd84 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 43b8cfd39b Fix integration tests for Xcode 26 2025-09-26 17:20:41 +03:00
Stefan Ceriu 0cf1058283 Fix UI tests for Xcode 26 2025-09-26 17:20:41 +03:00
Stefan Ceriu f31eda10dc Switch the enterprise tests to the xlarge runner as well. 2025-09-26 17:20:41 +03:00
Stefan Ceriu b250de1e3e Check if the preview tests time out on the macos-26-xlarge runner too. 2025-09-26 17:20:41 +03:00
Stefan Ceriu b705eacf48 Switch workflows to the macos-26 runner 2025-09-26 17:20:41 +03:00
renovate[bot] 2634091638 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] 57686d5f9b 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 27f078e83c 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 26b01d63f1 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 5f621411b2 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 cf6afcf647 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 9ab0c59eae 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 f789bdcaa9 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] 4bcdf58e3b Update codecov/test-results-action action to v1.1.1 2025-05-23 09:35:44 +03:00
Stefan Ceriu 06e7919b56 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 eaa6dd9240 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 d47c802fec 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 e54a588f49 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 65e62b7c75 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 dea0b6a9fd Workflow filename name change (#4065) 2025-04-25 17:46:29 +01:00
Mauro 85a7172986 Xcode16.3 support (#4029)
* Xcode16.3 support + updated unit and preview test
2025-04-16 19:12:31 +02:00
Doug c2f6c4086c Fix the post-release workflow. (#3996) 2025-04-08 17:24:55 +01:00
Doug 3547777a02 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] 8149107aef 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 495e117901 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 5e4be056a1 Add a post-release workflow. (#3986) 2025-04-07 14:48:20 +01:00
renovate[bot] 4a484961ae Update apple-actions/import-codesign-certs digest to cfd6eb3 2025-03-25 08:58:15 +02:00
Stefan Ceriu 8b070d9a64 Revert codecov/codecov-action changes and add allowedVersions renovate rule. 2025-03-24 13:37:17 +02:00
renovate[bot] 767eb5da30 Update GitHub Actions to v5 2025-03-24 13:37:17 +02:00
Doug 015e235c50 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