-
Notifications
You must be signed in to change notification settings - Fork 383
106 lines (99 loc) · 3.38 KB
/
openfeature.yml
File metadata and controls
106 lines (99 loc) · 3.38 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
name: OpenFeature
on:
pull_request:
push:
branches: [master, mq-working-branch-master-*]
schedule:
- cron: 0 4 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
env:
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/master' && '--retries 1' || '' }}
jobs:
unit:
strategy:
matrix:
version: [oldest, maintenance, active, latest]
name: ${{ github.workflow }} / unit (node-${{ matrix.version }})
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/dd-sts-api-key
id: dd-sts
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node
with:
version: ${{ matrix.version }}
- uses: ./.github/actions/install
- run: yarn test:openfeature:ci
- if: always()
uses: ./.github/actions/testagent/logs
with:
suffix: openfeature-${{ github.job }}-${{ matrix.version }}
- uses: ./.github/actions/coverage
with:
flags: openfeature-unit-${{ matrix.version }}
dd_api_key: ${{ steps.dd-sts.outputs.api_key }}
- uses: ./.github/actions/push_to_test_optimization
if: "!cancelled()"
with:
dd_api_key: ${{ steps.dd-sts.outputs.api_key }}
macos:
name: ${{ github.workflow }} / macos
runs-on: macos-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/dd-sts-api-key
id: dd-sts
- uses: ./.github/actions/node/latest
- uses: ./.github/actions/install
- run: yarn test:integration:openfeature
- uses: ./.github/actions/push_to_test_optimization
if: "!cancelled()"
with:
dd_api_key: ${{ steps.dd-sts.outputs.api_key }}
ubuntu:
name: ${{ github.workflow }} / ubuntu
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/dd-sts-api-key
id: dd-sts
- uses: ./.github/actions/node/oldest-maintenance-lts
- uses: ./.github/actions/install
- run: yarn test:integration:openfeature
- uses: ./.github/actions/node/newest-maintenance-lts
- run: yarn test:integration:openfeature
- uses: ./.github/actions/node/active-lts
- run: yarn test:integration:openfeature
- uses: ./.github/actions/node/latest
- run: yarn test:integration:openfeature
- uses: ./.github/actions/push_to_test_optimization
if: "!cancelled()"
with:
dd_api_key: ${{ steps.dd-sts.outputs.api_key }}
windows:
name: ${{ github.workflow }} / windows
runs-on: windows-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/dd-sts-api-key
id: dd-sts
- uses: ./.github/actions/node/latest
- uses: ./.github/actions/install
with:
cache: "true"
- run: yarn test:integration:openfeature
- uses: ./.github/actions/push_to_test_optimization
if: "!cancelled()"
with:
dd_api_key: ${{ steps.dd-sts.outputs.api_key }}