Skip to content

Commit

Permalink
Build: Improve main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jbe2277 committed Oct 31, 2024
1 parent 392749b commit d892fa6
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,25 @@ on:
paths:
- 'src/**'
- '.github/workflows/**'

jobs:
build:
name: 🛠️ Build and test
runs-on: windows-2022

steps:
- uses: actions/checkout@v3
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Build
- 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

- name: 🕵️ Test Domain
run: dotnet test ./src/MusicManager/MusicManager.Domain.Test/MusicManager.Domain.Test.csproj -c Release --no-build
- name: Test Applications
- name: 🕵️ Test Applications
run: dotnet test ./src/MusicManager/MusicManager.Applications.Test/MusicManager.Applications.Test.csproj -c Release --no-build
- name: Test Presentation
- name: 🕵️ Test Presentation
run: dotnet test ./src/MusicManager/MusicManager.Presentation.Test/MusicManager.Presentation.Test.csproj -c Release --no-build

0 comments on commit d892fa6

Please sign in to comment.