Skip to content

Commit

Permalink
♻️ better unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ianardee committed Dec 26, 2024
1 parent f60df74 commit 5064d61
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
- "ubuntu-22.04"
- "macos-13"
dotnet-version:
- "net6.0"
- "net7.0"
- "net8.0"
- "6.0.x"
- "7.0.x"
- "8.0.x"
- "9.0.x"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -25,9 +26,7 @@ jobs:
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
8.0.x
dotnet-version: ${{ matrix.dotnet }}

- uses: actions/cache@v4
with:
Expand All @@ -42,11 +41,11 @@ jobs:
- name: Build
run: |
dotnet build -f ${{ matrix.dotnet-version }} --no-restore
dotnet build --no-restore
- name: Test
run: |
dotnet test -f ${{ matrix.dotnet-version }} --no-restore --verbosity normal "tests\Mindee.UnitTests"
dotnet test --no-restore --verbosity normal "tests\Mindee.UnitTests"
test-windows:
name: Test on Windows
Expand Down

0 comments on commit 5064d61

Please sign in to comment.