Commit Graph

42 Commits

Author SHA1 Message Date
David Langley
9ac6382289 Add verticals team issues to Verticals Feature project 2023-02-22 10:03:42 +00:00
Kat Gerasimova
af85c01d0d Add new issues to the triage backlog 2023-02-15 10:02:33 +02:00
Johannes Marbach
3efd52f66c Add EXF issues to the X-Plorer project 2023-02-14 11:47:33 +01:00
Stefan Ceriu
91cf139162 Project file removal (#569)
* Deleted project file

* Add back SPM Package.resolved + .gitignore

* Generate project file on release builds

* Converge on single CI setup scripts within `ci_scripts/ci_common.sh`

* Fix unit tests

* Use new `ci_common/setup_github_actions_environment` setup script on all workflows

* Move lfs validation check to the pre-commit hooks. Remove validate-lfs github actions workflow

* Fix integration tests workflow

* Tweaks following code review
2023-02-13 12:53:01 +00:00
Stefan Ceriu
3096d11ddc BrowserStack support (#561)
* BrowserStack support

* Add fastlane step to automatically upload builds to BrowserStack

* Add error log for when Application Groups are not available

* Use better applicationSupportDirectory API
2023-02-10 16:52:15 +02:00
Doug
3f2539eaee Update PR Build workflow. (#564) 2023-02-10 13:01:51 +00:00
manuroe
9fb859f515 GH board: Send all issues to the EX board (#439)
We will be able to triage everything in one place
2023-01-11 15:57:34 +01:00
Doug
02787d85f7 Update danger image, fix snapshots (#436) 2023-01-11 11:01:33 +00:00
Stefan Ceriu
5bc31d0a69 Various UI test fixes (#370)
* Increase integration tests time limits again as they're still ocasionally failing

* Fixed NavigationRootCoordinator name in logs

* Refactor UI tests hierarchy and introduce new userFlowScreen

* Introduce a RoomTimelineControllerFactory so that it can be mocked in the UserFlow UI tests

* Start using a mock timeline controller for the UserSession flows

* Remove the WeakDictionary dependency and replce it with a plain NSMapTable in the BackgroundTaskService

* Allow multiple UITests screenshots per screen

* Prevent the view hierarchy changing when taking screenshots

* Add UserSessionScreen UI tests

* Fix label triaging workflow project identifier as per vector-im/element-ios/pull/7150

* Fix settings screen tests

* Fix roomPlainNoAvatar and roomEncryptedWithAvatar UI tests

* Fix modal server selection screen UI tests

* Fix bug report and login screen UI tests

* Fix text typing missing characters on UI tests

* Fix sliding sync configuration on integration tests

* Stop crashing if not finding a particular room through the MockClientProxy
2022-12-15 15:22:39 +02:00
Aleksandrs Proskurins
1ee5f7a18a Update codecov (#356)
* Exclude files that don't belong codecov

* Start tracking coverage from integration tests

* Added IntegrationTests to targets

* Pbxpoj file
2022-12-08 08:09:18 +00:00
Doug
0347632f13 Fail Unit Tests workflow when SwiftFormat fails. (#353) 2022-12-06 10:26:50 +00:00
Stefan Ceriu
354d2baa01 Specify and fetch the NSE provisioning profile when building Alphas (#334)
Specify and fetch the NSE provisioning profile when building Alphas
2022-11-23 14:02:54 +02:00
Stefan Ceriu
8d2e30c0b6 SwiftUI NavigationController and UserNotificationControllers (#309)
* Fixes #286 - Adopted the new SwiftUI NavigationStack based NavigationController throughout the application
* Fixes #315 - Implemented new user notification components on top of SwiftUI and the new navigation flows
* Add home screen fade animation between skeletons and real rooms
* Bump the danger-swift version used on the CI and swiftlint with it
* Renamed Splash to Onboarding, Empty to Splash
2022-11-16 13:37:34 +00:00
Stefan Ceriu
e675bcc6c7 Use an AppStoreConnect API key instead of username:password for alpha builds 2022-11-09 10:53:49 +02:00
Kat Gerasimova
79c36d65da Update issue automation
Stop using deprecated ProjectNext API in favour of the new ProjectV2 one
2022-11-03 12:25:16 +02:00
Stefan Ceriu
8504db9918 Only run validate-lfs nightly instead of on pull_requests so it doesn't count as much to the lfs 1gb quota 2022-10-27 18:18:52 +03:00
Stefan Ceriu
4e1bdf0554 Xcode Cloud Support (#234)
* Removed now unnecessary code from alpha builds
* Add nightly build configuration
* Update ruby dependencies
* Stop changing the app name for PRs and Nightly, the icon is sufficient
* Add ITSAppUsesNonExemptEncryption flag as per https://developer.apple.com/documentation/bundleresources/information_property_list/itsappusesnonexemptencryption and https://stackoverflow.com/questions/35841117/missing-compliance-status-in-testflight
* Updated app groups to reflect various environments: production, nightly and PR. Remove keychain access group as they should be inferred from the access groups
2022-10-24 16:00:17 +03:00
Stefan Ceriu
f18a2caed2 Attempt at introducing codecov flags and carry them forward between test runs 2022-10-16 11:04:17 +03:00
Stefan Ceriu
b3192bf0e8 Only build alpha builds when PR labelled as Trigger-PR-Build 2022-10-14 15:14:48 +03:00
Stefan Ceriu
72848c98fa Attempt fixing session verification cancellation test flakiness and pinning the Xcode version on all workflows 2022-10-14 15:14:48 +03:00
Jonas Platte
0021eb5dd4 Run unit test on pull request HEAD
… instead of on a merge commit.
2022-09-26 08:49:17 +03:00
Doug
b5f16a58fc Add validate-lfs.sh check from Android. (#203) 2022-09-22 09:36:51 +01:00
Doug
3e4b2442d0 Run SwiftFormat (non-lenient) separately on CI. (#167)
Make the lenient run into a post build step.
2022-08-30 16:45:40 +01:00
Stefan Ceriu
c4822dd7fe Attempt fixing github workflows and prevent homebrew from updating ruby 2022-08-30 12:31:42 +03:00
Stefan Ceriu
9ca68176d5 Allow integration tests to actually run every night 2022-08-22 11:48:12 +03:00
Stefan Ceriu
fa5435253f Remove UI tests from running on PRs and only let them run on a schedule 2022-08-19 17:43:09 +03:00
Stefan Ceriu
702527aed6 Various CI fixes (#161)
* Update homebrew dependencies like on the other workflows. Fixes problems caused by buggy swiftformat prebundled on the github actions macos runner

* Removed UI tests from PR tests and running them on a schedule instead. Hopefuly fixed code coverage.

* Added back simulator versions as they need to match UI test snapshots

* Allow UI tests to run on this PR

* Added back skipped UI tests

* Fix danger sometimes not working on forks and disable integration tests on them
2022-08-19 17:42:03 +03:00
Stefan Ceriu
09daf52750 #49, #123 - Setup UI integration and performance testing (#148) 2022-08-18 16:32:29 +03:00
Doug
f17d0c0cb1 Use a more robust detection for forks. (#160) 2022-08-12 14:45:56 +01:00
ismailgulek
fdbaa16c38 Screenshot tests (#130)
* #9 Add snapshot testing library

* #9 Create script to boot test simulators

* #9 Create the UI test plan

* #9 Create shared schemes for test targets

* #9 Disable split view for UI tests

* #9 Fix fastlane dependencies

* #9 Add snapshot testing to the application

* #9 assert screenshots

* #9 fix swipe gestures on iPad

* #9 Fix accessing items in session verification screen

* #9 Workaround for flaky unit test

* #9 Specify scheme for alpha build

* #9 Add reference screenshots

* Update python script path and check assets for png check

* Update script path

* Use static timezone for simulator time

* Fix build after SwiftFormat

* Add changelog

* Upload failed screenshots artifact

* Always upload artifacts

* Update boot simulator script

* Update simulator overridden time

* Install pytz before tests

* Get time from Ruby script

* Disable SwiftUI animation when running UI tests

* Update screenshots after animation setting

* Include reference images in the artifact

* Update matching precision

* Update image matching precision & revert artifact content

* Include Xcode result in the artifact

* Update test output directory

* Disable gradient on splash screen for tests

* Tap next button explicitly

* Wait a bit before checking alert

* Wait 1 second

* Run SwiftFormat on project

* Ignore temporary screenshots

* Fix most of the PR remarks

* Fix conflicts

* Bump Python version to 3

* Update reference screenshots for authentication screens

* Update SwiftFormat

* Fix flakey session verification test.

* Update scheme.

Co-authored-by: Doug <douglase@element.io>
2022-08-11 15:02:47 +03:00
Doug
a77f96478b Don't run Danger for forks as secrets are missing.
Simplify the check for the alpha release to reduce number of jobs.
2022-08-04 08:50:43 +01:00
Stefan Ceriu
e27e66f22b Improve release process
- remove towncrier logs from PR builds and move them to github releases
- set build version based on current time
- bump app version
2022-07-22 18:14:25 +03:00
Stefan Ceriu
2a092d4ce1 Fix syntax error in triage-labelled workflow 2022-07-22 11:39:37 +03:00
Stefan Ceriu
eab3ec2669 Update issue triage workflow. 2022-07-21 11:24:44 +03:00
Stefan Ceriu
71da356aaa vector-im/element-x-ios/issues/13 - Towncrier setup for PR builds 2022-05-11 10:39:45 +03:00
Stefan Ceriu
1e1b9f3d5c Remove Sonar project properties as they're not necessary for automatic analysis. Bumped the codecov action version to 3 2022-05-09 10:14:42 +03:00
Stefan Ceriu
40a96c3a1a Add Codecov upload step. Remove SonarCloud one, will replace by fastlane plugin. 2022-05-09 10:03:23 +03:00
Stefan Ceriu
a19fbf306d Setup test reports uploading to SonarCloud 2022-05-05 17:37:32 +03:00
Stefan Ceriu
39927d5c62 vector-im/element-x-ios/issues/11 - ElementX PR build setup 2022-05-04 16:02:59 +03:00
Stefan Ceriu
ea45393db2 Setup fastlane test lane and github action 2022-04-29 12:58:07 +03:00
Stefan Ceriu
d702452ce3 vector-im/element-x-ios/issues/14 - Initial Danger setup 2022-04-28 12:19:18 +03:00
manuroe
c9b0543aa3 Add GH workflow to push issues to the [ElementX board](https://github.com/orgs/vector-im/projects/43) 2022-04-25 10:27:44 +02:00