Skip to content

Test fix

Test fix #69

Workflow file for this run

name: pr-validation
on: pull_request
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
targetFramework: [net6.0, net7.0, net8.0, net9.0]
include:
- targetFramework: net6.0
dotnetVersion: 6.x
- targetFramework: net7.0
dotnetVersion: 7.x
- targetFramework: net8.0
dotnetVersion: 8.x
- targetFramework: net9.0
dotnetVersion: 9.x
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4 # Latest version is always required
with:
dotnet-version: 9.x
dotnet-quality: preview
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnetVersion }}
dotnet-quality: preview
- run: dotnet build DacFx.sln
- run: dotnet pack DacFx.sln --no-build
- run: dotnet test DacFx.sln --no-build -f ${{ matrix.targetFramework }}