Skip to content

Commit c40d588

Browse files
committed
Add github actions
1 parent 1ba7931 commit c40d588

File tree

2 files changed

+25
-28
lines changed

2 files changed

+25
-28
lines changed

.azure/pipelines/azure-pipelines.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: .NET
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
build-library:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Setup .NET
14+
uses: actions/setup-dotnet@v1
15+
with:
16+
dotnet-version: 6.0.x
17+
18+
- name: Restore dependencies
19+
run: dotnet restore
20+
21+
- name: Build
22+
run: dotnet build EntityFrameworkCore.DataEncryption.sln --configuration Release -f net6.0 --no-restore
23+
24+
- name: Run unit tests
25+
run: dotnet test EntityFrameworkCore.DataEncryption.sln --configuration Release /p:CollectCoverage=true /p:Exclude="[xunit*]*" /p:CoverletOutputFormat=opencover /p:CoverletOutput="../TestResults/TestResults.xml" /maxcpucount:1 -f net6.0 --no-build --verbosity normal

0 commit comments

Comments
 (0)