Skip to content

Commit

Permalink
WIP Unit test actions
Browse files Browse the repository at this point in the history
  • Loading branch information
BurkusCat committed Oct 13, 2023
1 parent 123a65d commit 32cf1a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-demo-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Demo App for CI

on:
push:
branches: [ "main" ]
branches: [ "main", "workflow-improvements" ]
paths-ignore:
- "**.md"
pull_request:
Expand All @@ -24,4 +24,6 @@ jobs:
- name: Restore dependencies
run: dotnet restore samples\DemoApp\DemoApp.sln
- name: Build
run: dotnet build samples\DemoApp\DemoApp.sln -c Release
run: dotnet build samples\DemoApp\DemoApp.sln -c Release
- name: Run Unit Tests
run: dotnet test tests\DemoApp.UnitTests\DemoApp.UnitTests.csproj --verbosity normal
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Build for CI
name: Build Library for CI

on:
push:
branches: [ "main" ]
branches: [ "main", "workflow-improvements" ]
paths-ignore:
- "**.md"
pull_request:
Expand All @@ -24,4 +24,6 @@ jobs:
- name: Restore dependencies
run: dotnet restore src\Burkus.Mvvm.Maui.sln
- name: Build
run: dotnet build src\Burkus.Mvvm.Maui.sln -c Release
run: dotnet build src\Burkus.Mvvm.Maui.sln -c Release
- name: Run Unit Tests
run: dotnet test tests\Burkus.Mvvm.Maui.UnitTests\Burkus.Mvvm.Maui.UnitTests.csproj --verbosity normal

0 comments on commit 32cf1a6

Please sign in to comment.