-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (44 loc) · 1.47 KB
/
sdk-client-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
39
40
41
42
43
44
45
46
47
48
49
50
51
name: LaunchDarkly.ClientSdk 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: [macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Setup Env from project's Env file
shell: bash
run: echo "$(cat pkgs/sdk/client/github_actions.env)" >> $GITHUB_ENV
- uses: launchdarkly/gh-actions/actions/[email protected]
name: Get secrets
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
s3_path_pairs: 'launchdarkly-releaser/dotnet/LaunchDarkly.ClientSdk.snk = LaunchDarkly.ClientSdk.snk'
- uses: ./.github/actions/ci
with:
project_file: ${{ env.PROJECT_FILE}}
test_project_file: ${{ env.TEST_PROJECT_FILE}}
target_test_framework: "net7.0"
- uses: ./.github/actions/contract-tests
with:
service_project_file: ${{ env.CONTRACT_TEST_PROJECT_FILE}}
service_dll_file: ${{ env.CONTRACT_TEST_DLL_FILE}}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: ./.github/actions/build-docs
with:
workspace_path: ${{ env.WORKSPACE_PATH}}
# TODO: resolve issue with emulator and device tests