This repository was archived by the owner on May 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +66
-40
lines changed
dotnet-server-sdk-shared-tests/LaunchDarkly.ServerSdk.SharedTests.Tests
test/LaunchDarkly.ServerSdk.Redis.Tests Expand file tree Collapse file tree 4 files changed +66
-40
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main, 'feat/**' ]
6+ paths-ignore :
7+ - ' **.md' # Do not need to run CI for markdown changes.
8+ pull_request :
9+ branches : [ main, 'feat/**' ]
10+ paths-ignore :
11+ - ' **.md'
12+
13+ jobs :
14+ linux :
15+ runs-on : ubuntu-latest
16+
17+ services :
18+ redis :
19+ image : redis
20+ ports :
21+ - 6379:6379
22+
23+ steps :
24+ - uses : actions/checkout@v4
25+
26+ - name : Setup dotnet build tools
27+ uses : actions/setup-dotnet@v4
28+ with :
29+ dotnet-version : 8.0
30+
31+ - run : dotnet restore
32+ - run : dotnet build src/LaunchDarkly.ServerSdk.Redis -f netstandard2.0
33+ - run : dotnet test test/LaunchDarkly.ServerSdk.Redis.Tests -f net8.0
34+
35+ windows :
36+ runs-on : windows-latest
37+
38+ defaults :
39+ run :
40+ shell : powershell
41+
42+ steps :
43+ - uses : actions/checkout@v4
44+
45+ - name : Setup dotnet build tools
46+ uses : actions/setup-dotnet@v4
47+ with :
48+ dotnet-version : 8.0
49+
50+ - name : Setup Redis
51+ run : |
52+ $ProgressPreference = "SilentlyContinue"
53+ iwr -outf redis.zip https://github.com/MicrosoftArchive/redis/releases/download/win-3.0.504/Redis-x64-3.0.504.zip
54+ mkdir redis
55+ Expand-Archive -Path redis.zip -DestinationPath redis
56+ cd redis
57+ ./redis-server --service-install
58+ ./redis-server --service-start
59+ Start-Sleep -s 5
60+ ./redis-cli ping
61+
62+ - run : dotnet restore
63+ - run : dotnet build src/LaunchDarkly.ServerSdk.Redis -f net462
64+ - run : dotnet test test/LaunchDarkly.ServerSdk.Redis.Tests -f net462
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >netcoreapp3.1 </TargetFrameworks >
3+ <TargetFrameworks >net8.0 </TargetFrameworks >
44 <IsPackable >false</IsPackable >
55 <RootNamespace >LaunchDarkly.Sdk.Server.SharedTests</RootNamespace >
66 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >netcoreapp3.1 ;net462</TargetFrameworks >
3+ <TargetFrameworks >net8.0 ;net462</TargetFrameworks >
44 <IsPackable >false</IsPackable >
55 <IsTestProject >true</IsTestProject >
66 <RootNamespace >LaunchDarkly.Sdk.Server.Integrations</RootNamespace >
You can’t perform that action at this time.
0 commit comments