Commit Graph

64 Commits

Author SHA1 Message Date
renovate[bot] 07b139b307 Update actions/upload-artifact action to v7.0.1 (#5381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-13 18:36:40 +01:00
renovate[bot] dd7e255520 Update nschloe/action-cached-lfs-checkout action to v1.2.5 (#5368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-10 13:04:44 +01:00
renovate[bot] 09970fdbab Update codecov/codecov-action action to v6 (#5309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-01 11:09:28 +01:00
renovate[bot] 08a92c0dd0 Update codecov/codecov-action action to v5.5.4 (#5308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-31 12:50:43 +01:00
renovate[bot] 8a65d613b1 Update codecov/codecov-action action to v5.5.3 (#5283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-20 14:52:24 +00:00
renovate[bot] 671f8e7acd Update nschloe/action-cached-lfs-checkout action to v1.2.4 2026-03-16 16:21:36 +02:00
Doug 51194c09e2 Add zizmor checks on CI. (#5161)
* Add zizmor checks on CI.

* Fix zizmor credentials warnings

* Add persist-credentials: false to action-cached-lfs-checkout too.

* Add empty permissions by default.

* Ignore pull_request_target failure and add a warning.
2026-03-05 13:54:51 +00:00
renovate[bot] 98edee0ad3 Update actions/upload-artifact action to v7 2026-02-27 07:13:36 +02:00
Stefan Ceriu fc03e05697 Replace ruby/fastlane tools with swift variants. (#5105)
* Replace ruby/fastlane unit and preview test flows with swift variants.

* Switch to swift-log and Logger for logging

* Address (my own!) PR comments.

---------

Co-authored-by: Doug <douglase@element.io>
2026-02-19 09:13:42 +00:00
Stefan Ceriu 189da20419 Manually pass in the coverage and test result report files and disable automatic search. 2025-12-16 17:57:30 +02:00
Stefan Ceriu 099d1c8b8f Stop running the coverage upload steps on failed or cancelled (i.e. non-successful) runs 2025-12-16 17:57:30 +02:00
Stefan Ceriu 1e63aea550 Bump the codecov action from 3.1.6 to 5.5.2 2025-12-16 17:57:30 +02:00
Stefan Ceriu 45aec9d006 Converge on same comments and behaviours for forks and cancelled runs. 2025-12-16 17:57:30 +02:00
Stefan Ceriu 3e9a231443 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] 678649a09a Update codecov/test-results-action action to v1.2.1 2025-12-16 08:53:19 +02:00
renovate[bot] e81e6b8309 Update actions/upload-artifact action to v6 2025-12-13 09:41:59 +02:00
renovate[bot] 00b2895e25 Update actions/cache action to v5 2025-12-12 09:30:05 +02: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 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] f3415e4ef1 Update actions/upload-artifact action to v5 2025-10-27 10:10:37 +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 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
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
renovate[bot] 4bcdf58e3b Update codecov/test-results-action action to v1.1.1 2025-05-23 09:35:44 +03: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 85a7172986 Xcode16.3 support (#4029)
* Xcode16.3 support + updated unit and preview test
2025-04-16 19:12:31 +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
renovate[bot] 42aa2bcabc Update codecov/codecov-action action to v3.1.6 2025-03-19 08:39:11 +02:00
Stefan Ceriu ef73677518 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 4e880f1924 Fix incorrect analytics mapping for UTDs. (#3497)
* Fix incorrect analytics mapping for UTDs.

* Upgrade GitHub workflows to use macOS 15.
2024-11-08 08:36:15 +00:00
Stefan Ceriu 9d23dec2e9 Tracing and integration test tweaks (#3336)
* Disable image and document picker integration tests as they randomly fail to load and are flakey.

* Delete any pre-existing log files

* Various tracing tweaks and fixes:
- delete the custom tracing log levels as we can't control their ouput
- implement comparable on them
- change default levels only if the new chosen level increases their verbosity

* Make logging targets mandatory and fix their logging levels

* Switch back to using the `run_tests` reset simulator flag as `fastlane snapshot reset_simulators` was too generic and slow

* Switch all integration test taps to `tapCenter` (nee forceTap) after noticing missed taps on CI.

* Make the logging file prefix explicit, let the main app not use one.

* Rename tracing configuration `target` to `currentTarget`
2024-09-27 15:08:47 +03:00
Doug 4d7d687954 Start fixing flakey tests ❄️ (#3329)
* Wait longer on authentication flow tests.

* Move default perceptualPrecision value into the snapshot preferences.

* Delay snapshots *before* setting up the test.

* Reset the simulators on GitHub before running?

* Remove a test that is now handled by Rust.

* Fix a test that was yielding.
2024-09-26 16:09:01 +01:00
Stefan Ceriu 5acfb5dd87 Try to stop random codecov test result action failures from failing the whole test run. 2024-09-18 15:22:34 +03:00
Doug 022cc59d56 Try uploading test results to Codecov. (#3266) 2024-09-12 07:09:15 +01:00
Stefan Ceriu f6c8aae09e Switch codecov-action back to v3 as 4 significantly decreases coverage
- previously seen in https://github.com/element-hq/element-x-ios/pull/2727
2024-09-10 11:55:18 +03:00
renovate[bot] c132f67913 Update GitHub Actions 2024-09-03 18:21:22 +03:00
Stefan Ceriu c73a60dca7 Revert "Update GitHub Actions"
This reverts commit a6cdbc3329.
2024-09-03 18:14:28 +03:00
renovate[bot] a6cdbc3329 Update GitHub Actions 2024-09-03 15:50:57 +03:00
renovate[bot] 19a8f60976 Update actions/upload-artifact action to v4 2024-05-20 11:19:12 +01:00
renovate[bot] 7d5d150d26 Update actions/cache action to v4 2024-05-20 11:11:46 +01:00
manuroe a3ec0b8505 Codecov: Add token for codecov-action@v3 to fix coverage report (#2727)
Moving to v4 is blocked because of a fundamental issue with https://github.com/codecov/codecov-action/issues/1279 on our mac runners and because the reported coverage is [decreasing with v4](https://app.codecov.io/gh/element-hq/element-x-ios/pull/2719/flags)
2024-04-22 14:59:51 +02:00
Stefan Ceriu 0fc0ad101e Remove the unit tests derived data caching step 2024-04-09 18:18:11 +03:00
Stefan Ceriu bc869e7a40 Remove unnecessary ref from lfs checkout, switch to only using the major version 2024-03-25 12:30:10 +02:00
Stefan Ceriu d65199a614 Cache Xcode derived data and SPM packages for unit tests 2024-03-25 12:30:10 +02:00
Stefan Ceriu 83f5ae9192 Prefire multiple devices (#2543)
* Update Prefire, setup multiple snapshot devices and languages
Squashed commits:
[28cb4ae6d] Switch to macos-14, iOS 17 and the iPhone 15 simulator
[080fc82cb] Update snapshots
[c874ca9c7] Bump Compound and Prefire, reduce perceptual precission to 0.98
[a59b8a54c] Update snapshots after adding iPad and pseudolanguage snapshotting
[f30cc3277] Setup multi-language snapshotting
[aeb11c7e7] Update prefire template, setup multiple snapshot devices

* Update ruby dependencies and fastlane plugins

* Bump Compound, switch back to the original prefire - version 2.0.4

* Remove preview test simulator version specifiers
2024-03-12 13:08:54 +02:00
Doug b54d87efd5 Zip results from Unit Test failures (#2542)
* Zip uploaded unit test results on failure.

Add a failure to test.

Revert "Add a failure to test."
2024-03-07 18:55:02 +00:00
Doug 5f0c782ce2 Use xcresultparser in all workflows. (#2510)
* Fix integration tests.
2024-02-28 18:01:20 +00:00