Skip to content

Commit ff0dd50

Browse files
committed
Update github actions
Add codecov support on github build action Remove push rule Add push
1 parent e0615d6 commit ff0dd50

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,10 @@ jobs:
2424
run: dotnet build EntityFrameworkCore.DataEncryption.sln --configuration Release -f net6.0 --no-restore
2525

2626
- name: Run unit tests
27-
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
27+
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
28+
29+
- name: Upload code coverage
30+
uses: codecov/codecov-action@v3
31+
with:
32+
files: ./test/TestResults/TestResults.xml
33+
fail_ci_if_error: true

0 commit comments

Comments
 (0)