Merge pull request #152 from microsoft/vpl/new-policies #1177
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Build / Unit Test | |
on: | |
push: | |
paths-ignore: | |
- documentation/** | |
branches-ignore: | |
- api/* | |
env: | |
rg: gram-parser | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.x | |
# See https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-restore | |
- name: Install dependencies | |
run: dotnet restore code | |
# See https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build | |
- name: Build | |
run: dotnet build code --configuration Release --no-restore | |
# See https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test | |
- name: Unit Tests | |
run: | | |
dotnet test code/DeltaKustoUnitTest --configuration Release \ | |
--no-build --verbosity normal | |
- name: File-base integration tests (in-proc) | |
run: | | |
dotnet test code/DeltaKustoFileIntegrationTest --configuration Release \ | |
--no-build --verbosity normal \ | |
-p:ParallelizeTestCollections=false |