-
Notifications
You must be signed in to change notification settings - Fork 59
38 lines (31 loc) · 824 Bytes
/
ci.yml
File metadata and controls
38 lines (31 loc) · 824 Bytes
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
name: CI
on:
push:
branches:
- develop
- feature/**
pull_request:
branches:
- develop
- feature/**
workflow_dispatch:
jobs:
build:
name: PR Build
strategy:
matrix:
config: [debug, release]
runs-on: ubuntu-22.04
steps:
- name: Check out Source Code
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.x
- name: Restore dependencies
run: dotnet restore ApplicationInsights.Kubernetes.sln
- name: Build ApplicationInsights.Kubernetes
run: dotnet build ApplicationInsights.Kubernetes.sln --no-restore --configuration ${{ matrix.config }}
- name: Test
run: dotnet test tests/UnitTests --verbosity normal --configuration ${{ matrix.config }}