File tree Expand file tree Collapse file tree 4 files changed +23
-5
lines changed Expand file tree Collapse file tree 4 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ TimeSeries
11
11
NuGet
12
12
cli
13
13
dotnet
14
- HSET
14
+ HSET
15
+ codecov
Original file line number Diff line number Diff line change 30
30
dotnet-version : ${{matrix.dotnet-version}}
31
31
- name : run redis-stack-server docker
32
32
run : docker run -p 6379:6379 -d redislabs/redismod:edge
33
- - name : compile
34
- run : dotnet build
35
- - name : run tests
36
- run : dotnet test
33
+ - name : Restore dependencies
34
+ run : dotnet restore
35
+ - name : Build
36
+ run : dotnet build --no-restore /p:ContinuousIntegrationBuild=true
37
+ - name : Test
38
+ run : dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
39
+ - name : Codecov
40
+ uses : codecov/codecov-action@v3
41
+ with :
42
+ token : ${{secrets.CODECOV_TOKEN}}
43
+ verbose : true
44
+
Original file line number Diff line number Diff line change 1
1
[ ![ license] ( https://img.shields.io/github/license/redis/NRedisStack.svg )] ( https://raw.githubusercontent.com/redis/NRedisStack/master/LICENSE )
2
2
[ ![ .github/workflows/integration.yml] ( https://github.com/redis/NRedisStack/actions/workflows/integration.yml/badge.svg )] ( https://github.com/redis/NRedisStack/actions/workflows/integration.yml )
3
3
[ ![ pre-release] ( https://img.shields.io/github/v/release/redis/nredisstack?include_prereleases&label=prerelease )] ( https://github.com/redis/nredisstack/releases )
4
+ [ ![ codecov] ( https://codecov.io/gh/redis/NRedisStack/branch/master/graph/badge.svg?token=4B0KCNK12D )] ( https://codecov.io/gh/redis/NRedisStack )
4
5
5
6
6
7
# NRedisStack
Original file line number Diff line number Diff line change 9
9
</PropertyGroup >
10
10
11
11
<ItemGroup >
12
+ <PackageReference Include =" coverlet.collector" Version =" 3.2.0" >
13
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
14
+ <PrivateAssets >all</PrivateAssets >
15
+ </PackageReference >
16
+ <PackageReference Include =" coverlet.msbuild" Version =" 3.2.0" >
17
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
18
+ <PrivateAssets >all</PrivateAssets >
19
+ </PackageReference >
12
20
<PackageReference Include =" Moq" Version =" 4.18.1" />
13
21
<PackageReference Include =" coverlet.collector" Version =" 3.1.2" />
14
22
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11.0" />
You can’t perform that action at this time.
0 commit comments