Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila authored Aug 24, 2023
1 parent 7f6a266 commit 65fd12d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,28 @@ jobs:
src/PDFtoImage/bin/${{env.BUILD_CONFIGURATION}}/*.nupkg
src/PDFtoImage/bin/${{env.BUILD_CONFIGURATION}}/*.snupkg
if-no-files-found: error
test:
name: Test (${{ runner.os }})
needs: build
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Setup .NET 6
uses: actions/setup-dotnet@main
with:
dotnet-version: 6.x
- name: Setup .NET 7
uses: actions/setup-dotnet@main
with:
dotnet-version: 7.0.306 # TEMP FIX: SDK 7.0.400 broke the Android builds
- name: Download test assemblies
uses: actions/download-artifact@main
with:
name: Test assemblies
- name: .NET 6
run: dotnet test net6.0/PDFtoImage.Tests.dll
- name: .NET 7
run: dotnet test net7.0

0 comments on commit 65fd12d

Please sign in to comment.