Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add visionOS to build and unit test jobs #3900

Merged
merged 12 commits into from
Oct 21, 2024

Conversation

harsh62
Copy link
Member

@harsh62 harsh62 commented Oct 18, 2024

Issue #

Description

General Checklist

  • Added new tests to cover change, if needed
  • Build succeeds with all target using Swift Package Manager
  • All unit tests pass
  • All integration tests pass
  • Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
  • Documentation update for the change if required
  • PR title conforms to conventional commit style
  • New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()
  • If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@harsh62 harsh62 changed the base branch from main to visionos-preview-rebased October 18, 2024 16:31
@harsh62 harsh62 changed the title Vision os unit test chore: add visionOS to build and unit test jobs Oct 21, 2024
@harsh62 harsh62 marked this pull request as ready for review October 21, 2024 01:34
@harsh62 harsh62 requested review from a team as code owners October 21, 2024 01:34
Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.35%. Comparing base (0c4ce47) to head (bbd4f57).
Report is 1 commits behind head on visionos-preview-rebased.

Additional details and impacted files
@@                     Coverage Diff                      @@
##           visionos-preview-rebased    #3900      +/-   ##
============================================================
- Coverage                     69.65%   69.35%   -0.31%     
============================================================
  Files                          1087     1087              
  Lines                         49603    49364     -239     
============================================================
- Hits                          34549    34234     -315     
- Misses                        15054    15130      +76     
Flag Coverage Δ
API_plugin_unit_test 70.33% <ø> (-0.88%) ⬇️
AWSPluginsCore 70.36% <ø> (+0.37%) ⬆️
Amplify 48.18% <ø> (-0.08%) ⬇️
Analytics_plugin_unit_test 85.20% <ø> (-0.57%) ⬇️
Auth_plugin_unit_test 80.10% <ø> (-0.46%) ⬇️
DataStore_plugin_unit_test 84.13% <ø> (-0.14%) ⬇️
Geo_plugin_unit_test 74.86% <ø> (-0.37%) ⬇️
Logging_plugin_unit_test 62.96% <ø> (-0.32%) ⬇️
Predictions_plugin_unit_test 35.49% <ø> (-0.86%) ⬇️
PushNotifications_plugin_unit_test 88.43% <ø> (+0.31%) ⬆️
Storage_plugin_unit_test 76.88% <ø> (-0.25%) ⬇️
unit_tests 69.35% <ø> (-0.31%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@harsh62 harsh62 merged commit 60c5e48 into visionos-preview-rebased Oct 21, 2024
84 checks passed
@harsh62 harsh62 deleted the vision-os-unit-test branch October 21, 2024 02:00
harsh62 added a commit that referenced this pull request Oct 21, 2024
* feat: visionOS support (#3058)

* fix readme typo and make instructions clearer (#3070)

* fix: update xrOS --> visionOS in os directive checks

* chore(build): fix integration tests

* fix: Fixing Analytics, Storage and Predictions integration tests

* fix: Fixing Push Notification tests. Also reverting some scheme changes.

* chore: Updating README

* chore: update ReadMe me to remove visionos-preview branch

* chore: add visionOS to build and unit test jobs (#3900)

* Update Amplify/Core/Configuration/Internal/Amplify+Reset.swift

Co-authored-by: Sebastian Villena <97059974+ruisebas@users.noreply.github.com>

* worked on review comments

* fixed unit tests

* remove the platform checks

---------

Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com>
Co-authored-by: Abhash Kumar Singh <thisisabhash@gmail.com>
Co-authored-by: Sebastian Villena <97059974+ruisebas@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant