Skip to content

Add GitHub Action to run tests on PRs #12

Add GitHub Action to run tests on PRs

Add GitHub Action to run tests on PRs #12

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]
dotnetVersion: [3.1.x, 5.x, 6.x, 7.x, 8.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnetVersion }}
- run: dotnet build DacFx.sln
- run: dotnet pack DacFx.sln
- run: dotnet test DacFx.sln