Skip to content

Merge pull request #156 from microsoft/vpl/python-test #1208

Merge pull request #156 from microsoft/vpl/python-test

Merge pull request #156 from microsoft/vpl/python-test #1208

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