Skip to content

Commit

Permalink
Manage frameworks in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aneojgurhem committed Feb 23, 2023
1 parent 9869ef3 commit be8f1ab
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/publish-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ jobs:
strategy:
fail-fast: false
matrix:
projects:
- packages/csharp/ArmoniK.Api.Tests
- packages/csharp/ArmoniK.Api.Core.Tests
include:
- projects: packages/csharp/ArmoniK.Api.Tests
framework: 6.x
- projects: packages/csharp/ArmoniK.Api.Core.Tests
framework: 7.x
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -52,12 +54,12 @@ jobs:
- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x
dotnet-version: ${{ matrix.framework }}

- name: Run tests
run: |
cd ${{ matrix.projects }}
dotnet test -f net7.0 --logger "trx;LogFileName=test-results.trx"
dotnet test -f ${{ matrix.framework }} --logger "trx;LogFileName=test-results.trx"
- name: Test Report
uses: dorny/test-reporter@v1
Expand Down

0 comments on commit be8f1ab

Please sign in to comment.