Skip to content

Commit

Permalink
fix yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyf19 committed Nov 13, 2024
1 parent 162e3af commit 0e4abe9
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,29 @@ jobs:
continue-on-error: true
name: "Build and run unit tests"

strategy:
matrix:
dotnet-version:[ '6.0.x', '7.0.x', '8.0.x', '9.0.x' ]
steps:
- name: Checkout repository
uses: actions/[email protected]

- name: Setup .NET
- name: Setup .NET 6.0.x
uses: actions/[email protected]
with:
dotnet-version: ${{ matrix.dotnet-version }}
dotnet-version: '6.0.x'

- name: Setup .NET 7.0.x
uses: actions/[email protected]
with:
dotnet-version: '7.0.x'

- name: Setup .NET 8.0.x
uses: actions/[email protected]
with:
dotnet-version: '8.0.x'

- name: Setup .NET 9.0.x
uses: actions/[email protected]
with:
dotnet-version: '9.0.x'

- name: 'Setup MSBuild'
uses: microsoft/setup-msbuild@v2
Expand Down Expand Up @@ -79,6 +91,9 @@ jobs:
repo: context.repo.repo,
body: process.env.COMMENT_CONTENT_ENV_VAR
})
- name: Test with .NET 9.0.x
run: dotnet test --no-restore --no-build Microsoft.Identity.Web.sln -f net9.0 -v normal -p:FROM_GITHUB_ACTION=true -p:TargetNet9=True --configuration Release --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Tests)"

- name: Test with .NET 462
run: dotnet test --no-restore --no-build Microsoft.Identity.Web.sln -f net462 -v normal -p:FROM_GITHUB_ACTION=true --configuration Release --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Test.Integration)&(FullyQualifiedName!~WebAppUiTests)&(FullyQualifiedName!~IntegrationTests)"
Expand Down

0 comments on commit 0e4abe9

Please sign in to comment.