forked from external-secrets/kubernetes-external-secrets
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 971 Bytes
/
workflow.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
name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
name: Node 12
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm test
test-e2e:
runs-on: ubuntu-latest
name: E2E
strategy:
matrix:
disableCustomResourceManager: ['true', 'false']
helmVersion: ['V2', 'V3']
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 12
- uses: azure/setup-helm@v1
with:
version: v2.16.1
if: matrix.helmVersion == 'V2'
- name: configure helm v2
run: |
helm init --client-only
if: matrix.helmVersion == 'V2'
- run: npm install
- run: npm run test-e2e -- ${{ matrix.disableCustomResourceManager }} ${{ matrix.helmVersion }}