forked from launchdarkly/dotnet-server-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 1.27 KB
/
sdk-server-ci.yml
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: LaunchDarkly.ServerSdk CI
on:
push:
branches: [main, 'feat/**']
paths-ignore:
- '**.md' # Do not need to run CI for markdown changes.
pull_request:
branches: [main, 'feat/**']
paths-ignore:
- '**.md'
jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/ci
with:
project_file: pkgs/sdk/server/src/LaunchDarkly.ServerSdk.csproj
test_project_file: pkgs/sdk/server/test/LaunchDarkly.ServerSdk.Tests.csproj
token: ${{ secrets.GITHUB_TOKEN }}
# Running contract tests on windows is currently cumbersome.
# Once that has been addressed, then running contract tests on windows should be considered.
- uses: ./.github/actions/contract-tests
if: ${{ matrix.os != 'windows-latest' }}
with:
service_project_file: pkgs/sdk/server/contract-tests/TestService.csproj
service_dll_file: pkgs/sdk/server/contract-tests/bin/debug/net6.0/ContractTestService.dll
token: ${{ secrets.GITHUB_TOKEN }}
- uses: ./.github/actions/build-docs
with:
workspace_path: pkgs/sdk/server