Commit Graph

143 Commits

Author SHA1 Message Date
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
Doug
63cbfa96c0 Update dependabot.yml 2025-02-07 10:37:03 +00:00
Doug
62616a88ec Add a test dependabot.yml file and see to see what it picks up. (#3756)
Might need to add the project file manually?
2025-02-07 10:29:09 +00:00
Doug
bacaf5df8d Use the new preview screen when tapping media on the room and pinned events screens. (#3736)
* Use the new TimelineMediaPreview modifier on the room and pinned timeline screens.

* Use the same presentation logic for all timeline media previews.

* Fix a bug with the detection of the timeline end.

* Send pagination requests from the media preview screen.

* Add SwiftLint to the Danger workflow (it is no longer installed on the runner).

* Put SwiftLint back on all of the GitHub runners too.

* Set the function_parameter_count lint rule to 10.

* Make sure to clean-up any previews when the coordinator is done.

* Handle the viewInRoomTimeline action more appropriately.
2025-02-05 13:27:23 +00:00
Stefan Ceriu
ef9c538cad Replace ImageMagick with a custom tool written in swift. 2025-01-21 16:25:29 +02:00
manuroe
934bc3af8f Update bug.yml
Mentionning iPhone X looks old those days.
2024-12-25 21:01:56 +02:00
Stefan Ceriu
45090a6221 Various danger swift rule tweaks
* remove the ticket number check, it's noisy
* remove signoff now that we have cla checks
* fix description image attachments check
2024-12-13 17:43:25 +02:00
ElementRobot
709c0506fe Translations update (#3552)
* Translations update

* Run the workflow at 3am instead.

---------

Co-authored-by: Velin92 <34335419+Velin92@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2024-11-25 12:20:34 +00:00
Doug
50afd63764 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
Doug
c290330307 Switch UI tests back to the perf-only runner. (#3349) 2024-09-30 11:13:14 +01:00
Stefan Ceriu
21d3376b31 Switch codecov-Action@v3 to v0.7.3 so it runs on Intel macs 2024-09-30 11:59:08 +03:00
Stefan Ceriu
ac92187c12 Switch the integration tests to the perf-only runner 2024-09-30 11:59:08 +03:00
Stefan Ceriu
e918dc66ae 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
0274cf3cd5 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
79e3758887 Integration test improvements (#3330)
* Send a message from integration tests and check that it doesn't show up in the app logs
* Increase photo library timeout

* Wait for image tapping to process

* Send a message using the rich text editor too

* Wait for the various pickers to finish loading

* Set all logs to `trace` in integration tests

* Close formatting options after sending the second message

* Make sure logs are actually sent to tracing and get redirected to the right file

* Switch from using a custom `trace` log configuration to the lowest level `TracingConfiguration` we support
2024-09-26 10:15:09 +03:00
Stefan Ceriu
8268b7fb5f Try to stop random codecov test result action failures from failing the whole test run. 2024-09-18 15:22:34 +03:00
Doug
c9d77de71c Try uploading test results to Codecov. (#3266) 2024-09-12 07:09:15 +01:00
Stefan Ceriu
34a5ac0a08 Free up CI runner disk space before running UI tests. 2024-09-10 18:23:13 +03:00
Stefan Ceriu
5b5909ddba Update bug.yml 2024-09-10 15:18:11 +03:00
Stefan Ceriu
7d616019a7 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
Stefan Ceriu
7725c73860 Stop running and publishing performance metrics to gh-pages 2024-09-05 13:49:56 +03:00
renovate[bot]
de51b17d83 Update GitHub Actions 2024-09-03 18:21:22 +03:00
Stefan Ceriu
94e22bfa0f Revert "Update GitHub Actions"
This reverts commit a48c7444ea.
2024-09-03 18:14:28 +03:00
renovate[bot]
a48c7444ea Update GitHub Actions 2024-09-03 15:50:57 +03:00
Doug
af7cba5b46 Run the integration tests on GitHub again. (#3052) 2024-07-17 10:16:43 +01:00
Doug
47d94501c7 Upgrade the project to use Xcode 15.4 (#3027)
* Update snapshots for Xcode 15.4

* Update CI.

* Fix crashing UI test.

* Fix compile error in Integration Tests.

* Try putting UI tests on GH runners again.
2024-07-11 17:38:32 +01:00
Doug
daf7a04535 Setup unit tests for Enterprise. (#2984)
* Fix Analytics on Enterprise.
2024-07-01 12:34:47 +01:00
Doug
c8f3545a69 Add changelog labels to PRs from Localazy and Renovate. (#2981) 2024-06-27 15:50:41 +01:00
Doug
b1d3315d30 Trigger a Danger run when labelling a PR too. (#2972) 2024-06-27 11:33:47 +01:00
Doug
27215acbd3 Replace Towncrier with GitHub releases + labels. (#2966)
* Set up GitHub generated release notes.

* Remove Towncrier from the release script.

* Add changelog failures for Labels with Danger and stop requesting a changelog file.

* Update changelog documentation.
2024-06-25 11:07:01 +00:00
renovate[bot]
494c4d892e Update apple-actions/import-codesign-certs action to v3 2024-05-20 14:34:00 +01:00
renovate[bot]
e165cf3fb9 Update NejcZdovc/comment-pr action to v2 2024-05-20 12:48:15 +01:00
renovate[bot]
276bc8be11 Update dependency macos to v14 2024-05-20 12:21:42 +01:00
renovate[bot]
54654a918a Update actions/upload-artifact action to v4 2024-05-20 11:19:12 +01:00
renovate[bot]
dff24f50e8 Update peter-evans/create-pull-request action to v6 2024-05-20 11:16:59 +01:00