-
Notifications
You must be signed in to change notification settings - Fork 10
28 lines (23 loc) · 971 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: MusicManager
on:
push:
paths:
- 'src/**'
- '.github/workflows/**'
jobs:
build:
name: 🛠️ Build and test
runs-on: windows-2022
steps:
- name: 🔖 Check-out
uses: actions/checkout@v4
- name: ⚙️ Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: 🛠️ Build
run: msbuild ./src/MusicManager/MusicManager.sln /restore /p:Configuration=Release /p:GenerateAppxPackageOnBuild=false
- name: 🕵️ Test Domain
run: dotnet test ./src/MusicManager/MusicManager.Domain.Test/MusicManager.Domain.Test.csproj -c Release --no-build
- name: 🕵️ Test Applications
run: dotnet test ./src/MusicManager/MusicManager.Applications.Test/MusicManager.Applications.Test.csproj -c Release --no-build
- name: 🕵️ Test Presentation
run: dotnet test ./src/MusicManager/MusicManager.Presentation.Test/MusicManager.Presentation.Test.csproj -c Release --no-build