CI / CD #54
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
name: Build & Test | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Display .NET version | |
run: dotnet --info | |
- name: Restore dependencies | |
run: dotnet restore PhotoManager/PhotoManager.sln | |
- name: Build | |
run: dotnet build --no-restore PhotoManager/PhotoManager.sln | |
- name: Test | |
run: dotnet test --no-build --verbosity normal PhotoManager/PhotoManager.sln --filter "(FullyQualifiedName~ApplicationViewModelCatalogAssetsTests | FullyQualifiedName~ApplicationCatalogAssetsAsyncTests | FullyQualifiedName~CatalogAssetsServiceTests | FullyQualifiedName~ApplicationViewModelNotifyCatalogChangeTests)" |