131 Commits

Author SHA1 Message Date
Stefan Ceriu
cbb69624b0 Use an AppStoreConnect API key instead of username:password for alpha builds 2022-11-09 10:53:49 +02:00
Kat Gerasimova
2e86313965 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
3be0afd358 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
80babf1cd8
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
5e1057ecab Attempt at introducing codecov flags and carry them forward between test runs 2022-10-16 11:04:17 +03:00
Stefan Ceriu
49ee365a5e Only build alpha builds when PR labelled as Trigger-PR-Build 2022-10-14 15:14:48 +03:00
Stefan Ceriu
8f96dc3303 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
730ada69a0 Run unit test on pull request HEAD
… instead of on a merge commit.
2022-09-26 08:49:17 +03:00
Doug
e7eeac0424
Add validate-lfs.sh check from Android. (#203) 2022-09-22 09:36:51 +01:00
Doug
7c37d2f143
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
c92e6c2092 Attempt fixing github workflows and prevent homebrew from updating ruby 2022-08-30 12:31:42 +03:00
Stefan Ceriu
3e078e7bbf Allow integration tests to actually run every night 2022-08-22 11:48:12 +03:00
Stefan Ceriu
6aa1bd4c90 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
142180b1f3
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
78df4abc7f
#49, #123 - Setup UI integration and performance testing (#148) 2022-08-18 16:32:29 +03:00
Doug
b6e1d6d1e5
Use a more robust detection for forks. (#160) 2022-08-12 14:45:56 +01:00
ismailgulek
2cb6dc1cd9
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
018f3d844b Create PULL_REQUEST_TEMPLATE.md 2022-08-04 08:51:24 +01:00
Doug
087b25b6ab 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
2f69c99782 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
65c35498bd Fix syntax error in triage-labelled workflow 2022-07-22 11:39:37 +03:00
Stefan Ceriu
2f4fb81aa5 Update issue triage workflow. 2022-07-21 11:24:44 +03:00
Stefan Ceriu
db1114d381 vector-im/element-x-ios/issues/13 - Towncrier setup for PR builds 2022-05-11 10:39:45 +03:00
Stefan Ceriu
a090208a51 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
864809c831 Add Codecov upload step. Remove SonarCloud one, will replace by fastlane plugin. 2022-05-09 10:03:23 +03:00
Stefan Ceriu
75695504e6 Setup test reports uploading to SonarCloud 2022-05-05 17:37:32 +03:00
Stefan Ceriu
a1a7cd7745 vector-im/element-x-ios/issues/11 - ElementX PR build setup 2022-05-04 16:02:59 +03:00
Stefan Ceriu
cfd0b14c81 Setup fastlane test lane and github action 2022-04-29 12:58:07 +03:00
Stefan Ceriu
1b1b541a63 vector-im/element-x-ios/issues/14 - Initial Danger setup 2022-04-28 12:19:18 +03:00
manuroe
474fa6ec21 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
Stefan Ceriu
a499570f39 Initial commit 2022-02-11 14:06:26 +02:00