-
Notifications
You must be signed in to change notification settings - Fork 19
39 lines (34 loc) · 1.07 KB
/
continuous-build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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