-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add .NET MAUI CI * cleanup * add ignores * updae installes * add no warn
- Loading branch information
1 parent
15be262
commit 05b9ae0
Showing
4 changed files
with
60 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: eShop Pull Request Validation - .NET MAUI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '**' | ||
paths: | ||
- 'src/ClientApp/**' | ||
- 'test/ClientApp.UnitTests/**' | ||
- '.github/workflows/pr-validation-maui.yml' | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'src/ClientApp/**' | ||
- 'test/ClientApp.UnitTests/**' | ||
- '.github/workflows/pr-validation-maui.yml' | ||
|
||
jobs: | ||
test: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup .NET (global.json) | ||
uses: actions/setup-dotnet@v3 | ||
|
||
- name: Update Workloads | ||
run: dotnet workload update | ||
|
||
- name: Install Workloads | ||
shell: pwsh | ||
run: | | ||
dotnet workload install android | ||
dotnet workload install ios | ||
dotnet workload install maccatalyst | ||
dotnet workload install maui | ||
- name: Build | ||
run: dotnet build src/ClientApp/ClientApp.csproj | ||
|
||
- name: Test | ||
run: dotnet test tests/ClientApp.UnitTests/ClientApp.UnitTests.csproj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters