-
Notifications
You must be signed in to change notification settings - Fork 12
49 lines (40 loc) · 1.08 KB
/
self-test.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
# Testing of the self-test capability
name: Self-test
# cancel any prior runs for this workflow and this PR (or branch)
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
kind:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Create k8s Kind Cluster
uses: helm/[email protected]
with:
install_only: true
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Setup
env:
TERM: xterm
run: ./tests/kind/setup-ci.sh
- name: Run Test with profile ${{ matrix.profile }}
env:
EXECUTABLE_PATH: github-actions-production
TERM: xterm
DEBUG_KUBERNETES: true
TEST_LOG_AGGREGATOR: true
run: ./tests/self-test/run.sh