Skip to content

Commit

Permalink
Update build_and_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Romfos authored Oct 8, 2023
1 parent 2279dbd commit 49aed07
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: |
6.0.x
7.0.x
- name: Restore dependencies
run: dotnet restore
Expand Down Expand Up @@ -44,7 +46,9 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: |
6.0.x
7.0.x
- name: Restore build cache
uses: actions/cache/restore@v3
Expand All @@ -54,6 +58,5 @@ jobs:
key: ${{github.run_number}}

- name: Test
working-directory: ./bin/Debug/NSubstitute.Acceptance.Specs/${{ matrix.tfm }}
run: dotnet test -f ${{ matrix.tfm }} --no-build --no-restore NSubstitute.Acceptance.Specs.dll
run: dotnet test -f ${{ matrix.tfm }} --no-build --no-restore bin/Debug/NSubstitute.Acceptance.Specs/${{ matrix.tfm }}/NSubstitute.Acceptance.Specs.dll

0 comments on commit 49aed07

Please sign in to comment.