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

Device test runner #1444

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft

Device test runner #1444

wants to merge 22 commits into from

Conversation

pictos
Copy link
Member

@pictos pictos commented Oct 4, 2023

This PR adds the Device test runner to our repo. It's WiP but it's nice to have some visibility of you all. It's working and if you want you can start to add tests. I added two tests to be a guide for you.

I'll need help of someone who knows yaml in order to create a step on our build to run these tests, I know that Maui does that so we can grab for them (?).

Right now these bits are in preview, and uses a private feed, I added a nuget.config file adding the source to the needed packages, I would say it's fine to use it since is the one that .NET MAUI uses and it the team is working in making this stable. Also, using it on our repo is a good way to help them provide early feedback.

@pictos pictos requested a review from a team October 4, 2023 23:49
@pictos
Copy link
Member Author

pictos commented Oct 4, 2023

cc: @mattleibow just in case you have something to add (:

</ItemGroup>

<ItemGroup>
<MauiXaml Update="Tests\UITests\StatusBarTestPage.xaml">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be removed

public class BehaviorTest
{
[Fact]
public void SuccessfulTest()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be removed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make it run on your CI first

@VladislavAntonyuk VladislavAntonyuk added the hacktoberfest-accepted A PR that has been approved during Hacktoberfest label Oct 5, 2023
VladislavAntonyuk and others added 2 commits October 5, 2023 20:21
* Run tests on Android

* fix path

* skip warnings

* install android sdk

* update nuget.config

* fix build

* use x86-x64 android emulator

* use android x64

* ios maccatalyst

* fix path

* fix ios build

* use xcode 14.3.1

* macos-13

* comment android

* Run only on Mac
@ghost ghost added stale The author has not responded in over 30 days help wanted This proposal has been approved and is ready to be implemented labels Nov 17, 2023
@VladislavAntonyuk
Copy link
Collaborator

@pictos can we merge this PR as it is (with comments fixes)?

@brminnick brminnick removed the stale The author has not responded in over 30 days label Sep 21, 2024
@brminnick brminnick marked this pull request as draft September 21, 2024 19:21
@bijington
Copy link
Contributor

It looks like it is forcing us to upgrade to Xcode 16 and iOS 18? Is this supported via Azure Pipelines?

@brminnick
Copy link
Collaborator

brminnick commented Oct 1, 2024

It looks like it is forcing us to upgrade to Xcode 16 and iOS 18? Is this supported via Azure Pipelines?

Yup! You need to do two things to add iOS 18 support to the library:

  1. Update CommunityToolkitLibrary_Xcode_Version to '16'
    CommunityToolkitLibrary_Xcode_Version: '15.4'
  2. Update TOOLKIT_NET_VERSION to 8.0.402

bijington

This comment was marked as outdated.

@dotnet-policy-service dotnet-policy-service bot added the stale The author has not responded in over 30 days label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted A PR that has been approved during Hacktoberfest help wanted This proposal has been approved and is ready to be implemented stale The author has not responded in over 30 days
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants